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. Store-Recall
B. Synchronous-Redundant
C. Set-Reset
D. Signal-Response

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 perform arithmetic operations
D. To store one bit of data

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 = 0, R = 1
B. S = 1, R = 0
C. S = 0, R = 0
D. S = 1, R = 1

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

Latch (SR and D) Easy
A. Transparent
B. Transistor
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. The ability to store data
C. The use of NAND gates
D. A clock or triggering input

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

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

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

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

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

Flip-Flop (SR, JK, D and T) Easy
A. Time
B. Trigger
C. Toggle
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. SR flip-flop
D. D 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 increase the storage capacity
B. To avoid the race-around condition
C. To simplify the circuit design
D. To reduce power consumption

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

Master-Slave flip-flop Easy
A. Adders
B. Inverters
C. Multiplexers
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 clock signal is constantly low
C. When the clock signal is constantly high
D. When the power is turned on

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. High (1)
B. Falling
C. Low (0)
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 an inverter between J and K
D. Connect J and K inputs together to form the T input

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

Conversion of basic flip-flop Easy
A. Connect S to D, and R to an inverted D
B. Connect S to ground, and R to 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. Only the clock signal
B. Only the power supply voltage
C. Present inputs and past outputs
D. Only the present inputs

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 = 0
B. J = 0, K = 0
C. J = 1, K = 1
D. J = 0, K = 1

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

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

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. Both Q and will be 1.
B. Both Q and will be 0.
C. The latch will toggle its state.
D. The latch will hold its previous state.

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 be 0.
B. Q will retain the value it had before E went HIGH.
C. Q will be 1.
D. Q will be in an undefined state.

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. 20 MHz
B. 0 Hz (DC level)
C. 5 MHz
D. 10 MHz

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. 1, 0, 1, 0
C. 0, 1, 0, 1
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 create a latch with a clock input.
B. To eliminate the race-around condition.
C. To double the storage capacity of a single flip-flop.
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 = TQ
B. D = T Q
C. D = T
D. D = T + Q

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 LOW.
C. When the clock signal goes from LOW to HIGH.
D. When the clock signal is HIGH.

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

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

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 = 1 and K = D
B. Set J = D and K = 1
C. Set J = D and K =
D. Tie J and K together to the D input

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. 100%
B. 50%
C. 75%
D. 25%

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

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

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 Q and R = T
D. S = T 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 slave latch will update immediately.
B. The inputs are ignored until the next clock cycle.
C. The final output Q will change immediately.
D. The master latch will update to the latest J and K values before the clock edge.

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 acts as a synchronous counter.
B. It functions as a 4-bit shift register.
C. The output will be stuck at 1111.
D. It acts as a ripple counter (asynchronous).

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 + K
B. T = JK
C. T = JQ + K
D. T = J + KQ

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 has a smaller circuit size.
B. The output is synchronized to a clock edge, preventing transparency issues.
C. It can store both analog and digital signals.
D. It consumes less power.

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 slave latch catches the master's state too quickly, causing a race condition.
B. The output Q gets stuck at 1 permanently.
C. 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.
D. The flip-flop can only store a logic 1 but not a logic 0.

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 set to Q=1.
C. It will toggle its state.
D. It will always be reset to Q=0.

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 remain in its previous state.
B. The latch will enter a metastable 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. 50%
B. 25%
C. 60%
D. 30%

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 toggle twice within the clock pulse.
B. Q will remain 0.
C. The output will be unpredictable (metastable).
D. Q will become 1.

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. 0
B. It toggles between 0 and 1 on each pulse.
C. 1
D. It remains at 1.

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 decouples the external inputs from the slave latch while the slave's output is changing.
B. It uses a clock with a very short pulse width.
C. It changes the state on the clock edge, effectively making the pulse width irrelevant.
D. It completely decouples the input from the output during the entire clock cycle.

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 hold time of the D flip-flop cannot be met.
B. The invalid state (S=1, R=1) of the SR flip-flop cannot be implemented deterministically.
C. The propagation delay of the resulting circuit is too high.
D. The logic for D becomes excessively complex.

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. 10 ns
B. 30 ns
C. 20 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. 0
B. Toggles rapidly
C. Metastable
D. 1

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.
B. The output is stuck at a constant level.
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 become 1.
B. Q will enter a metastable state.
C. Q will toggle to 1 and then back to 0 within the same cycle.
D. Q will definitely remain 0.

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 output frequency will be doubled.
B. The flip-flop may capture the glitch if it violates the hold time requirement.
C. No consequence, as the D flip-flop only samples at the clock edge.
D. The flip-flop will enter a metastable state.

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. The state is unpredictable due to the conflict.
B. Q toggles to 1 and is then immediately cleared to 0.
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. 10
B. 11
C. 00
D. 01

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 never change state.
B. It will act as a flip-flop that can only be set but not cleared by the T input.
C. It will act as a normal T flip-flop.
D. It will always toggle, regardless of the T input.

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=10 ns, setup time is violated.
B. t=20 ns, hold time is violated.
C. t=20 ns, setup time is met.
D. t=10 ns, setup time is met.