Unit 6 - Practice Quiz

ECE249 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the condition called when both inputs S (Set) and R (Reset) of an SR latch are 1?

SR-latch Easy
A. Hold State
B. Invalid / Forbidden State
C. Set State
D. Reset State

2 In an SR latch, what is the output Q when S=1 and R=0?

SR-latch Easy
A. Q is set to 1
B. Q remains unchanged
C. The latch enters a forbidden state
D. Q is reset to 0

3 A D-latch is also known as a transparent latch because:

D-latch Easy
A. It cannot store data
B. It is made of glass
C. It always resets on power-up
D. When the enable input is active, the output follows the input

4 What is the primary function of the 'Enable' input in a gated D-latch?

D-latch Easy
A. To control when the input data (D) is passed to the output (Q)
B. To invert the output
C. To set the latch
D. To reset the latch

5 A D flip-flop is a ___ triggered device, which means it changes state only at a specific instant.

D flip-flop Easy
A. pulse
B. level
C. data
D. edge

6 What value will the output Q of a D flip-flop take after a clock edge if its D input is 0?

D flip-flop Easy
A. It will remain unchanged
B. 1
C. It will toggle
D. 0

7 In a JK flip-flop, what happens to the output Q when J=1 and K=1 and a clock pulse is applied?

JK flip- flop Easy
A. It is set (Q=1)
B. It remains unchanged
C. It is reset (Q=0)
D. It toggles (flips to the opposite state)

8 Which state does a JK flip-flop enter when J=0 and K=0?

JK flip- flop Easy
A. Set state
B. Toggle state
C. Reset state
D. Hold/Memory state

9 What does the 'T' in T flip-flop stand for?

T flip-flop Easy
A. Transfer
B. Trigger
C. Time
D. Toggle

10 If the T input of a T flip-flop is held low (T=0), what will be the output Q after a clock pulse?

T flip-flop Easy
A. It will be set to 1
B. It will be reset to 0
C. It will remain unchanged (hold state)
D. It will toggle

11 What is the primary purpose of using a Master-Slave configuration in a JK flip-flop?

Master Slave JK flip flop Easy
A. To eliminate the race-around condition
B. To reduce power consumption
C. To simplify the circuit design
D. To increase the speed of operation

12 A Master-Slave flip-flop consists of:

Master Slave JK flip flop Easy
A. One latch
B. Two flip-flops connected in parallel
C. Two latches connected in series
D. One flip-flop and one latch

13 To convert a JK flip-flop into a T flip-flop, what connection should be made?

Conversion of basic flip-flop Easy
A. Connect J to Q'
B. Connect J to Vcc and K to ground
C. Connect J and K inputs together to form the T input
D. Ground both J and K inputs

14 How can a D flip-flop be made from a JK flip-flop?

Conversion of basic flip-flop Easy
A. Set J=1, K=0
B. Set J=K
C. Set J=0, K=1
D. Set J=D and K=D'

15 What is the basic function of a shift register?

Operation of all basic Shift Registers Easy
A. To amplify a signal
B. To count pulses
C. To perform arithmetic operations
D. To store and move binary data

16 Which type of register can have its data loaded all at once and shifted out one bit at a time?

Operation of all basic Shift Registers Easy
A. SIPO (Serial-In, Parallel-Out)
B. PIPO (Parallel-In, Parallel-Out)
C. PISO (Parallel-In, Serial-Out)
D. SISO (Serial-In, Serial-Out)

17 What is another common name for an asynchronous counter?

Design of Asynchronous, Synchronous counters Easy
A. Parallel Counter
B. Ripple Counter
C. Ring Counter
D. Decade Counter

18 What is the main characteristic of a synchronous counter?

Design of Asynchronous, Synchronous counters Easy
A. All flip-flops are clocked by the same clock signal simultaneously
B. It is slower than an asynchronous counter
C. The flip-flops are clocked sequentially
D. It uses latches instead of flip-flops

19 In a standard 4-bit Ring Counter, how many unique states are there?

Ring counter and Johnson ring counter Easy
A. 4
B. 2
C. 8
D. 16

20 A 3-bit Johnson counter has how many unique states?

Ring counter and Johnson ring counter Easy
A. 9
B. 6
C. 8
D. 3

21 An SR latch is constructed using two cross-coupled NOR gates. If the current state is Q=1 and Q'=0, what input combination of S and R will cause the latch to enter the invalid state?

SR-latch Medium
A. S=0, R=0
B. S=0, R=1
C. S=1, R=0
D. S=1, R=1

22 A D-latch is said to be "transparent." What does this characteristic imply?

D-latch Medium
A. The output is always the inverse of the input.
B. The output Q follows the input D only on the clock edge.
C. The output Q follows the input D as long as the enable signal is active.
D. The latch cannot store a value.

23 A D flip-flop is initially reset (Q=0). What will be the state of Q after 4 positive clock edges if the input D is tied to the output Q'?

D flip-flop Medium
A. Toggles on each clock pulse
B. Enters an invalid state
C. Remains at 0
D. Remains at 1

24 For a JK flip-flop with J=K=1, what is the output frequency () at Q if the input clock frequency is 20 kHz?

JK flip- flop Medium
A. 5 kHz
B. 40 kHz
C. 20 kHz
D. 10 kHz

25 To build a MOD-16 counter using T flip-flops, how many flip-flops are required, and what must be the state of the T input for each flip-flop to enable counting?

T flip-flop Medium
A. 8 flip-flops, T=1
B. 4 flip-flops, T=1
C. 4 flip-flops, T toggles with Q
D. 16 flip-flops, T=0

26 What problem in level-triggered JK flip-flops does the Master-Slave configuration primarily address?

Master Slave JK flip flop Medium
A. Hold time violation
B. Race-around condition
C. Invalid state (S=R=1)
D. Setup time violation

27 To convert a JK flip-flop into a D flip-flop, what external connections are required?

Conversion of basic flip-flop Medium
A. Connect J to logic 1 and K to D
B. Connect J to the inverse of D (D') and K to D
C. Connect J to D and K to the inverse of D (D')
D. Connect J and K together to the D input

28 In a 4-bit Serial-In, Parallel-Out (SIPO) shift register, initially cleared to 0000, the serial data stream 1011 is applied (with 1 being the first bit in). After how many clock pulses is the complete 4-bit number available on the parallel outputs?

Operation of all basic Shift Registers Medium
A. 8 pulses
B. 4 pulses
C. 3 pulses
D. 1 pulse

29 An asynchronous (ripple) down-counter is built with 3 positive edge-triggered JK flip-flops (configured to toggle). The external clock is applied to the LSB flip-flop. How should the clock inputs of the subsequent flip-flops be connected?

Design of Asynchronous, Synchronous counters Medium
A. The Q' output of the preceding flip-flop clocks the next one.
B. The K input of the preceding flip-flop clocks the next one.
C. All flip-flops are clocked by the same external clock.
D. The Q output of the preceding flip-flop clocks the next one.

30 A 4-bit Johnson counter is initialized to 0000. How many unique states does it cycle through before repeating?

Ring counter and Johnson ring counter Medium
A. 16
B. 1
C. 8
D. 4

31 A positive edge-triggered JK flip-flop has its J input connected to Q' and its K input connected to Q. What is the functionality of this circuit?

JK flip- flop Medium
A. The output Q is always set to 1.
B. It acts as a T flip-flop always in toggle mode.
C. It acts as a D flip-flop with input Q.
D. The output Q is always reset to 0.

32 In a standard Master-Slave JK flip-flop triggered by a complete pulse, when does the slave latch update its state to match the master latch?

Master Slave JK flip flop Medium
A. During the entire time the clock is high.
B. On the rising edge of the clock pulse.
C. On the falling edge of the clock pulse.
D. During the entire time the clock is low.

33 What is the primary reason that synchronous counters can operate at a higher frequency than asynchronous counters of the same size?

Design of Asynchronous, Synchronous counters Medium
A. The cumulative propagation delay is significantly lower.
B. They have a simpler circuit structure.
C. They use fewer logic gates in their design.
D. They consume less power per flip-flop.

34 A 4-bit Parallel-In, Serial-Out (PISO) shift register is loaded with the data 1011. What is the serial output sequence, assuming the LSB is shifted out first?

Operation of all basic Shift Registers Medium
A. 1011
B. 1101
C. 1000
D. 0110

35 How can a T flip-flop be constructed from a D flip-flop and an external gate?

Conversion of basic flip-flop Medium
A. Connect D to the output of an XOR gate with inputs T and Q.
B. Connect D to Q'.
C. Connect D to the output of an AND gate with inputs T and Q.
D. Connect D directly to the T input.

36 A standard 5-bit ring counter is initialized to the state 10000. What will be its state after 7 clock pulses?

Ring counter and Johnson ring counter Medium
A. 01000
B. 10000
C. 00100
D. 00001

37 Three T flip-flops are cascaded to form a ripple counter. All T inputs are held high (T=1). If the input clock frequency is 120 Hz, what is the frequency of the output of the last flip-flop (MSB)?

T flip-flop Medium
A. 30 Hz
B. 120 Hz
C. 15 Hz
D. 60 Hz

38 In designing a synchronous MOD-5 (0 to 4) up-counter using JK flip-flops, what condition must be detected to reset the counter?

Design of Asynchronous, Synchronous counters Medium
A. The counter does not need a reset condition; it naturally cycles.
B. The state 100 (binary 4) is detected to make the next state 000.
C. The state 111 (binary 7) must be detected to reset.
D. The state 101 (binary 5) must be detected to asynchronously clear the flip-flops.

39 Which type of shift register can be used for converting parallel data to serial data?

Operation of all basic Shift Registers Medium
A. Serial-In, Parallel-Out (SIPO)
B. Parallel-In, Parallel-Out (PIPO)
C. Serial-In, Serial-Out (SISO)
D. Parallel-In, Serial-Out (PISO)

40 How many flip-flops are required to design a Johnson counter that has 10 unique states?

Ring counter and Johnson ring counter Medium
A. 10
B. 4
C. 5
D. 3

41 A Master-Slave JK flip-flop is clocked at 1 MHz. The J and K inputs are both tied to HIGH. While the clock is HIGH (from t=0 to t=0.5 µs), a brief negative-going glitch pulls the J input to LOW for 50 ns and then returns it to HIGH. The glitch occurs at t=0.2 µs. Assuming zero setup and hold times, what is the state of the Q output after the clock goes LOW at t=0.5 µs?

Master Slave JK flip flop Hard
A. The output Q toggles.
B. The output Q remains unchanged.
C. The output Q resets to 0 (LOW).
D. The output Q sets to 1 (HIGH).

42 A 3-bit synchronous counter is designed using T flip-flops to follow the sequence: 000 -> 011 -> 101 -> 110 -> 000... Let the flip-flop outputs be . What is the logic expression for the input of the middle flip-flop?

Design of Synchronous counters Hard
A.
B.
C.
D.

43 You need to implement a special-purpose flip-flop with the characteristic equation using a standard JK flip-flop. What should the inputs J and K be in terms of the external input X and the current state ?

Conversion of basic flip-flop Hard
A.
B.
C.
D.

44 A 4-bit Linear Feedback Shift Register (LFSR) is configured with the feedback polynomial . The taps are taken from the 1st and 4th flip-flops (outputs and ). The outputs are XORed and fed back to the input of the first flip-flop (). If the initial seed state of the register () is 0001, what is the state after 5 clock pulses?

Operation of all basic Shift Registers Hard
A. 6
B. The counter gets stuck in a state.
C. 4
D. 8

45 A 4-bit asynchronous ripple up-counter is built using JK flip-flops with a propagation delay of 15 ns each. The counter is supposed to reset to 0000 when the count reaches 10 (1010). A NAND gate with a 10 ns delay is used for the reset logic. What is the maximum clock frequency at which this counter will operate correctly without skipping the reset state?

Design of Asynchronous counters Hard
A. 14.28 MHz
B. 25 MHz
C. 16.67 MHz
D. 20 MHz

46 A single JK flip-flop has its J input connected to and its K input connected to an external signal X. The flip-flop is clocked by a periodic signal. Which of the following describes the flip-flop's behavior?

JK flip- flop Hard
A. It will be set to 1.
B. It will be reset to 0.
C. It will toggle.
D. Its state is uncertain (metastable).

47 Three T flip-flops () are connected in a cascade. The clock is applied to all FFs simultaneously. The inputs are configured as follows: , , and . If the initial state () is 000, what is the state after the 4th clock pulse?

T flip-flop Hard
A. 011
B. 100
C. 110
D. 101

48 A 5-bit Johnson counter has an initial state of 10100. What will be the state of the counter after 4 clock pulses?

Ring counter and Johnson ring counter Hard
A. 11010
B. 01010
C. 00101
D. 10000

49 An SR latch is constructed using two NOR gates. The propagation delay of the top NOR gate (output Q) is 10 ns, and the delay of the bottom NOR gate (output Q') is 20 ns. The latch is stable with S=0, R=0, Q=0. At t=0, S is pulsed HIGH for 30 ns. What is the state of Q and Q' at t=35 ns?

SR-latch Hard
A. (oscillation)
B. for a brief period
C.
D.

50 A frequency divider circuit is built by cascading two D flip-flops. The output of the second flip-flop is connected back to the input of the first flip-flop. The clock is connected to both flip-flops. If the input clock frequency is 100 MHz, what is the frequency of the waveform at the output ?

D flip-flop Hard
A. 33.33 MHz
B. 50 MHz
C. 100 MHz
D. 25 MHz

51 To design a synchronous BCD (0-9) counter using JK flip-flops, what is the simplified logic expression for the input of the most significant bit (MSB) flip-flop ()? Let the outputs be .

Design of Synchronous counters Hard
A.
B.
C.
D.

52 What is the Boolean expression for the D input of a D flip-flop required to make it behave as a JK flip-flop? (where J and K are the control inputs)

Conversion of basic flip-flop Hard
A.
B.
C.
D.

53 A MOD-12 asynchronous counter is constructed using negative-edge-triggered T flip-flops. The counter is reset when the state reaches 12 (1100). What is the duty cycle of the output waveform of the most significant bit (MSB), ?

Design of Asynchronous counters Hard
A. 33.3%
B. 25%
C. 41.7%
D. 50%

54 Consider a gated D latch with a propagation delay of 5 ns from D to Q, and 3 ns from the Enable (E) input to Q. The setup time is 4 ns and hold time is 2 ns relative to the falling edge of E. The enable signal E is HIGH from t=10 ns to t=30 ns. The D input changes from 0 to 1 at t=27 ns. What is the state of the output Q at t=35 ns?

D-latch Hard
A. It is 1.
B. It is 0.
C. It is oscillating.
D. It is in a metastable state.

55 A 4-bit universal shift register () has mode controls S1 and S0. (S1S0: 00=Inhibit, 01=Shift Right, 10=Shift Left, 11=Parallel Load). The register state is initially 1011. The following sequence of operations occurs:
1. Clock pulse with S1S0=10 (Serial input left=1).
2. Clock pulse with S1S0=01 (Serial input right=0).
3. Clock pulse with S1S0=11 (Parallel data in=1100).
What is the final state of the register?

Operation of all basic Shift Registers Hard
A. 0011
B. 1100
C. 1001
D. 0110

56 An 8-bit Ring Counter is initialized with the state 10000000. After how many clock pulses will the state 00100000 first appear?

Ring counter and Johnson ring counter Hard
A. 3 pulses
B. 2 pulses
C. 5 pulses
D. 6 pulses

57 In a Master-Slave JK flip-flop, the master latch is typically enabled by ___, and the slave latch is enabled by ____.

Master Slave JK flip flop Hard
A. the HIGH level of the clock; the LOW level of the clock
B. the positive edge of the clock; the negative edge of the clock
C. the LOW level of the clock; the HIGH level of the clock
D. the negative edge of the clock; the positive edge of the clock

58 An active-LOW input S'R' latch (built with NAND gates) has both S' and R' inputs held LOW. What is the resulting state of its outputs Q and Q'?

SR-latch Hard
A. Q=0, Q'=1 (Reset)
B. Q=1, Q'=0 (Set)
C. Q=1, Q'=1
D. Q=0, Q'=0

59 A T flip-flop has a propagation delay () of 10 ns and a setup time () of 4 ns. It is used to build a ripple counter. To ensure correct operation of a 4-bit ripple counter built from these flip-flops, what is the minimum time period of the input clock signal?

T flip-flop Hard
A. 40 ns
B. 14 ns
C. 44 ns
D. 54 ns

60 A 2-bit synchronous binary counter is designed using two JK flip-flops ( where is MSB). The flip-flops have active-LOW asynchronous preset () and clear () inputs. A decoding circuit is added such that when the count reaches 3 (11), a LOW signal is immediately applied to the inputs of both flip-flops. What is the effective modulus of this counter?

JK flip- flop Hard
A. 2
B. The counter will lock up.
C. 4
D. 3