Unit 5 - Practice Quiz

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

1 What does 'SR' stand for in an SR Latch?

Latch (SR and D) Easy
A. Set-Reset
B. Signal-Response
C. Synchronous-Redundant
D. Store-Recall

2 What is the primary function of a latch in a digital circuit?

Latch (SR and D) Easy
A. To amplify a signal
B. To generate a clock signal
C. To store one bit of data
D. To perform arithmetic operations

3 In a basic SR latch made from NOR gates, which input condition is considered invalid or forbidden?

Latch (SR and D) Easy
A. S = 1, R = 0
B. S = 1, R = 1
C. S = 0, R = 1
D. S = 0, R = 0

4 A D Latch is also known as a __ latch.

Latch (SR and D) Easy
A. Transistor
B. Transparent
C. Timing
D. Toggle

5 What is the key feature that distinguishes a flip-flop from a latch?

Flip-Flop (SR, JK, D and T) Easy
A. The number of inputs
B. A clock or triggering input
C. The use of NAND gates
D. The ability to store data

6 Which flip-flop eliminates the invalid state problem found in the SR flip-flop?

Flip-Flop (SR, JK, D and T) Easy
A. D flip-flop
B. T flip-flop
C. A basic latch
D. JK flip-flop

7 What is the 'toggle' condition for a JK flip-flop?

Flip-Flop (SR, JK, D and T) Easy
A. J = 0, K = 0
B. J = 1, K = 0
C. J = 0, K = 1
D. J = 1, K = 1

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

Flip-Flop (SR, JK, D and T) Easy
A. Toggle
B. Time
C. Trigger
D. Transparent

9 If the input T=0 for a T flip-flop, what will be the next state () after a clock pulse?

Flip-Flop (SR, JK, D and T) Easy
A. It will be reset to 0
B. It will be set to 1
C. It will toggle ()
D. It will hold the previous state ()

10 Which flip-flop is most suitable for simply delaying an input signal by one clock cycle?

Flip-Flop (SR, JK, D and T) Easy
A. JK flip-flop
B. T flip-flop
C. D flip-flop
D. SR flip-flop

11 What is the primary purpose of using a master-slave configuration in a flip-flop?

Master-Slave flip-flop Easy
A. To avoid the race-around condition
B. To increase the storage capacity
C. To reduce power consumption
D. To simplify the circuit design

12 A master-slave flip-flop is essentially built by connecting two __ in series.

Master-Slave flip-flop Easy
A. Inverters
B. Multiplexers
C. Adders
D. Latches or flip-flops

13 In a master-slave flip-flop, when does the 'slave' latch update its state?

Master-Slave flip-flop Easy
A. When the clock signal makes a transition (e.g., from high to low)
B. When the power is turned on
C. When the clock signal is constantly low
D. When the clock signal is constantly high

14 In a positive level-triggered master-slave flip-flop, the 'master' latch is enabled when the clock is __.

Master-Slave flip-flop Easy
A. Low (0)
B. High (1)
C. Falling
D. Rising

15 To convert a JK flip-flop into a T flip-flop, what should be done with the J and K inputs?

Conversion of basic flip-flop Easy
A. Leave K unconnected
B. Connect J to Vcc and K to Ground
C. Connect J and K inputs together to form the T input
D. Connect an inverter between J and K

16 How can an SR flip-flop be converted to a D flip-flop?

Conversion of basic flip-flop Easy
A. Connect S to ground, and R to D
B. Connect S to D, and R to an inverted D
C. Connect S to D, and R to ground
D. Connect both S and R to D

17 Sequential circuits are circuits whose outputs depend on:

Flip-Flop (SR, JK, D and T) Easy
A. Present inputs and past outputs
B. Only the clock signal
C. Only the present inputs
D. Only the power supply voltage

18 What is the characteristic equation for a D flip-flop?

Flip-Flop (SR, JK, D and T) Easy
A.
B.
C.
D.

19 To make a JK flip-flop always toggle its output on every clock pulse, the inputs should be:

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

20 What is the purpose of the 'Enable' input on a gated SR latch?

Latch (SR and D) Easy
A. To provide power to the latch
B. To reset the latch to 0
C. To control when the S and R inputs are active
D. To set the latch to 1

21 In a NAND gate-based SR latch, if both S and R inputs are simultaneously set to 0 (the active-low condition), what will be the state of the outputs Q and ?

Latch (SR and D) Medium
A. The latch will toggle its state.
B. Both Q and will be 1.
C. The latch will hold its previous state.
D. Both Q and will be 0.

22 A gated D latch is considered 'transparent'. If the enable (E) input is HIGH, and the D input changes from 0 to 1 and then back to 0 while E is still HIGH, what will the output Q be right before E goes LOW?

Latch (SR and D) Medium
A. Q will retain the value it had before E went HIGH.
B. Q will be 0.
C. Q will be in an undefined state.
D. Q will be 1.

23 Which of the following conditions in an SR flip-flop is referred to as the 'race' or 'invalid' condition, which the JK flip-flop is designed to eliminate?

Flip-Flop (SR, JK, D and T) Medium
A. S=1, R=0
B. S=0, R=1
C. S=1, R=1
D. S=0, R=0

24 A positive edge-triggered D flip-flop has a clock input with a frequency of 10 MHz. The D input is held HIGH. What is the frequency of the signal at the Q output?

Flip-Flop (SR, JK, D and T) Medium
A. 10 MHz
B. 20 MHz
C. 5 MHz
D. 0 Hz (DC level)

25 To build a frequency divider that divides the input clock frequency by 8, what is the minimum number of T flip-flops required?

Flip-Flop (SR, JK, D and T) Medium
A. 8
B. 2
C. 3
D. 4

26 A JK flip-flop is initially reset (Q=0). What is the sequence of Q for the first four clock pulses if J=1 and K=1 for all pulses?

Flip-Flop (SR, JK, D and T) Medium
A. 0, 0, 0, 0
B. 0, 1, 0, 1
C. 1, 0, 1, 0
D. 1, 1, 1, 1

27 What is the primary purpose of a Master-Slave flip-flop configuration?

Master-Slave flip-flop Medium
A. To double the storage capacity of a single flip-flop.
B. To create a latch with a clock input.
C. To eliminate the race-around condition.
D. To reduce the power consumption of the circuit.

28 To convert a D flip-flop into a T flip-flop, what logic should be applied to the D input?

Conversion of basic flip-flop Medium
A. D = T Q
B. D = TQ
C. D = T + Q
D. D = T

29 In a Master-Slave JK flip-flop that triggers on the negative edge of the clock, when does the slave latch update its state?

Master-Slave flip-flop Medium
A. When the clock signal goes from HIGH to LOW.
B. When the clock signal is HIGH.
C. When the clock signal goes from LOW to HIGH.
D. When the clock signal is LOW.

30 The 'race-around' condition in a JK flip-flop occurs when:

Flip-Flop (SR, JK, D and T) Medium
A. J=1, K=1 and the clock pulse width is greater than the propagation delay.
B. J=1, K=0 and the clock is too fast.
C. J=1, K=1 and an edge-triggered clock is used.
D. J=0, K=0 and the clock is stuck at a HIGH level.

31 How can a JK flip-flop be configured to function as a D flip-flop?

Conversion of basic flip-flop Medium
A. Set J = D and K =
B. Tie J and K together to the D input
C. Set J = 1 and K = D
D. Set J = D and K = 1

32 Consider a negative edge-triggered T flip-flop with T input tied to HIGH. If the input clock is a square wave of 50 kHz, what is the duty cycle of the output Q waveform?

Flip-Flop (SR, JK, D and T) Medium
A. 75%
B. 25%
C. 50%
D. 100%

33 What is the key difference between a latch and a flip-flop?

Latch (SR and D) Medium
A. Latches have two inputs, while flip-flops have three.
B. Latches are faster than flip-flops.
C. Latches are level-triggered, while flip-flops are edge-triggered.
D. Latches are used for counting, while flip-flops are for storage.

34 To implement a T flip-flop using an SR flip-flop, the inputs S and R must be driven by:

Conversion of basic flip-flop Medium
A. S = T and R = TQ
B. S = TQ and R = T
C. S = T and R = T
D. S = T Q and R = T

35 Consider a Master-Slave JK flip-flop. If the J and K inputs change while the clock is in its active level (e.g., HIGH for a negative edge-triggered FF), what happens?

Master-Slave flip-flop Medium
A. The master latch will update to the latest J and K values before the clock edge.
B. The final output Q will change immediately.
C. The slave latch will update immediately.
D. The inputs are ignored until the next clock cycle.

36 A 4-bit synchronous binary counter is built using JK flip-flops. If all J and K inputs are tied to logic HIGH, what is the primary function of this circuit?

Flip-Flop (SR, JK, D and T) Medium
A. It functions as a 4-bit shift register.
B. It acts as a ripple counter (asynchronous).
C. The output will be stuck at 1111.
D. It acts as a synchronous counter.

37 You need to build a JK flip-flop from a T flip-flop. What should be the expression for the T input?

Conversion of basic flip-flop Medium
A. T = J + KQ
B. T = J + K
C. T = JK
D. T = JQ + K

38 What is the main advantage of an edge-triggered D flip-flop over a gated D latch?

Flip-Flop (SR, JK, D and T) Medium
A. It can store both analog and digital signals.
B. The output is synchronized to a clock edge, preventing transparency issues.
C. It consumes less power.
D. It has a smaller circuit size.

39 The phenomenon of '1s catching' in a Master-Slave SR or JK flip-flop refers to a situation where:

Master-Slave flip-flop Medium
A. The flip-flop can only store a logic 1 but not a logic 0.
B. If an input (S or J) momentarily goes to 1 while the clock is active, the master will 'catch' this 1 even if the input returns to 0 before the clock edge.
C. The slave latch catches the master's state too quickly, causing a race condition.
D. The output Q gets stuck at 1 permanently.

40 A JK flip-flop has its J input connected to Q and its K input connected to . How will this flip-flop behave on each clock pulse?

Flip-Flop (SR, JK, D and T) Medium
A. It will hold its current state.
B. It will always be reset to Q=0.
C. It will toggle its state.
D. It will always be set to Q=1.

41 Consider an SR latch built with two cross-coupled NOR gates, each with a propagation delay of . If both S and R inputs are pulsed from 0 to 1 simultaneously for a duration of , where , and then returned to 0, what will be the final state of the latch (, )?

Latch (SR and D) Hard
A. The latch will enter a metastable state.
B. The latch will remain in its previous state.
C. The latch will settle to a random but valid state (either 01 or 10).
D. The latch will enter the invalid state () and stay there.

42 A JK flip-flop has its J and K inputs tied to logic HIGH. It is clocked by a signal with a 60% duty cycle. If the output of this flip-flop is used to clock a second identical JK flip-flop (also in toggle mode and triggered on the same edge type), what is the duty cycle of the output of the second flip-flop?

Flip-Flop (SR, JK, D and T) Hard
A. 30%
B. 60%
C. 25%
D. 50%

43 To convert a D flip-flop into a JK flip-flop, the D input must be driven by a combinational circuit with inputs J, K, and the current state . What is the minimal Sum-of-Products (SOP) expression for D?

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

44 In a Master-Slave JK flip-flop (master active-high), the inputs are J=1, K=1, and Q is initially 0. If a very narrow positive glitch appears on the J input while the clock is HIGH, just before the clock goes low, what will be the output Q after the clock pulse completes?

Master-Slave flip-flop Hard
A. Q will remain 0.
B. Q will become 1.
C. The output will be unpredictable (metastable).
D. Q will toggle twice within the clock pulse.

45 A positive edge-triggered T flip-flop has its T input connected to the output of an XNOR gate. The inputs to the XNOR gate are an external signal X and the flip-flop's own output Q. If the flip-flop is initialized to Q=0, what is the state of Q after three clock pulses for the input sequence X = 1, 0, 1?

Flip-Flop (SR, JK, D and T) Hard
A. It toggles between 0 and 1 on each pulse.
B. It remains at 1.
C. 1
D. 0

46 A transparent D latch has a setup time of ns, a hold time of ns, and a propagation delay from Enable to Q of ns. The Enable signal goes from high to low at ns. To ensure correct operation, during which time interval must the D input be stable?

Latch (SR and D) Hard
A. From ns to ns
B. From ns to ns
C. From ns to ns
D. From ns to ns

47 When converting an SR flip-flop to a T flip-flop, the inputs S and R are driven by combinational logic using T and the current state Q as inputs. Which of the following logic assignments for S and R correctly implements the conversion?

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

48 The race-around condition in a level-triggered JK flip-flop occurs when , , and the clock pulse width () is greater than the propagation delay () of the flip-flop. How does a master-slave configuration fundamentally prevent this issue?

Master-Slave flip-flop Hard
A. It changes the state on the clock edge, effectively making the pulse width irrelevant.
B. It completely decouples the input from the output during the entire clock cycle.
C. It uses a clock with a very short pulse width.
D. It decouples the external inputs from the slave latch while the slave's output is changing.

49 Three D flip-flops () are connected such that , , and . The flip-flops are positive edge-triggered. If the initial state of the register is () = 101, what is the state after 3 clock pulses?

Flip-Flop (SR, JK, D and T) Hard
A. 101
B. 110
C. 011
D. 010

50 You are asked to convert a D flip-flop into an SR flip-flop. The conversion requires combinational logic for the D input as a function of S, R, and Q. What is a critical problem with this conversion?

Conversion of basic flip-flop Hard
A. The logic for D becomes excessively complex.
B. The invalid state (S=1, R=1) of the SR flip-flop cannot be implemented deterministically.
C. The hold time of the D flip-flop cannot be met.
D. The propagation delay of the resulting circuit is too high.

51 An edge-triggered SR flip-flop has a propagation delay of 10 ns. The clock is a 50 MHz square wave. S is held HIGH and R is held LOW. If Q is initially 0, at what time will Q first become stable at logic 1, assuming the first rising clock edge is at t=0?

Flip-Flop (SR, JK, D and T) Hard
A. 20 ns
B. 30 ns
C. 10 ns
D. 50 ns

52 A switch debouncing circuit is built using an SR latch made from NAND gates (active-low inputs S' and R'). The switch connects a pull-up resistor to either the S' input (position A) or the R' input (position B). Initially, the switch is at position A, making S'=0, R'=1, so Q=1. The switch is moved to B, but it bounces, making contact with B, then A, then B again before settling. What is the final state of Q?

Latch (SR and D) Hard
A. 1
B. Metastable
C. 0
D. Toggles rapidly

53 A signal with frequency is applied to the clock input of a JK flip-flop. The J input is connected to Q' and the K input is connected to Q. What is the frequency of the signal at the Q output?

Flip-Flop (SR, JK, D and T) Hard
A. The output is stuck at a constant level.
B.
C.
D.

54 A master-slave D flip-flop (master active high, slave active low) has Q=0. The D input has been 0 for a long time. At the rising edge of the clock, D changes from 0 to 1. This change occurs exactly at the rising edge, violating the setup time. What is the most likely output of Q after one full clock cycle?

Master-Slave flip-flop Hard
A. Q will definitely remain 0.
B. Q will toggle to 1 and then back to 0 within the same cycle.
C. Q will definitely become 1.
D. Q will enter a metastable state.

55 A T flip-flop is converted from a positive edge-triggered D flip-flop using the logic . If, due to gate delays in the XOR gate, the D input experiences a brief glitch just after a clock edge, what is the potential consequence?

Conversion of basic flip-flop Hard
A. The flip-flop may capture the glitch if it violates the hold time requirement.
B. The output frequency will be doubled.
C. The flip-flop will enter a metastable state.
D. No consequence, as the D flip-flop only samples at the clock edge.

56 To convert a T flip-flop to a D flip-flop, what combinational logic must be used for the T input, as a function of the desired input D and the current state Q?

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

57 A positive edge-triggered JK flip-flop has active-low asynchronous PRESET' and CLEAR' inputs. The flip-flop is in the state Q=0. The inputs are J=1, K=1. A clock pulse arrives. Simultaneously with the rising edge of the clock, the CLEAR' input is pulsed low for a short duration. What is the final state of Q?

Flip-Flop (SR, JK, D and T) Hard
A. Q toggles to 1 and is then immediately cleared to 0.
B. The state is unpredictable due to the conflict.
C. Q remains 0 because the CLEAR' pulse overrides the clock.
D. Q becomes 1 because of the toggle command.

58 Two negative edge-triggered T flip-flops, FF0 (LSB) and FF1 (MSB), form a 2-bit synchronous counter. The clock is connected to both flip-flops. The input is always 1. The input is connected to an external control signal ENABLE ANDed with the output . If the counter starts at () = 00 and ENABLE is held high, what is the state of the counter after 5 clock pulses?

Flip-Flop (SR, JK, D and T) Hard
A. 11
B. 10
C. 01
D. 00

59 To implement a T flip-flop from a JK flip-flop, the standard method is to tie J and K together to the T input. If, due to a fault, the K input is stuck at logic 0, but J is correctly connected to T, how will the resulting circuit behave?

Conversion of basic flip-flop Hard
A. It will always toggle, regardless of the T input.
B. It will act as a flip-flop that can only be set but not cleared by the T input.
C. It will never change state.
D. It will act as a normal T flip-flop.

60 A negative edge-triggered D flip-flop has a setup time of 3 ns and a hold time of 2 ns. The clock signal is a perfect square wave with a period of 20 ns. The D input changes from low to high at t=8 ns. At what time does the next clock edge occur, and is the timing constraint met?

Flip-Flop (SR, JK, D and T) Hard
A. t=20 ns, setup time is met.
B. t=10 ns, setup time is met.
C. t=20 ns, hold time is violated.
D. t=10 ns, setup time is violated.