Unit 4 - Practice Quiz
1 What does 'S' stand for in an SR-latch?
2 Which input condition is considered "forbidden" or "invalid" for a basic SR-latch made from NOR gates?
3 A D-latch is often called a 'transparent' latch because:
4 What does a small triangle symbol (▷) on the clock input of a flip-flop in a logic diagram signify?
5 In a positive edge-triggered D flip-flop, what happens to the output Q?
6 What is the state of a JK flip-flop when both J and K inputs are HIGH (J=1, K=1) and a clock pulse occurs?
7 If J=0 and K=0 for a JK flip-flop, what will the output be after the next clock pulse?
8 What is the primary function of a T flip-flop when its T input is HIGH?
9 A master-slave flip-flop is essentially composed of:
10 A sequential circuit that changes state on the HIGH to LOW transition of the clock pulse is called:
11 How can a JK flip-flop be made to function as a T flip-flop?
12 What is the main advantage of a D flip-flop over an SR flip-flop?
13 The master-slave configuration is primarily used to eliminate which problem?
14 If the T input of a T flip-flop is held LOW (T=0), what will its output Q do on the next clock edge?
15 To make a JK flip-flop act as a D flip-flop, how should the inputs be connected?
16 What is the fundamental building block of sequential logic circuits?
17 What is the role of the 'Enable' input on a D-latch?
18 The characteristic equation for a D flip-flop is:
19 The 'J' and 'K' in a JK flip-flop are the:
20 A T flip-flop with its T input permanently connected to a HIGH logic level functions as a:
21 An SR latch is constructed using two cross-coupled NOR gates. If both S and R inputs are momentarily set to 1 and then both return to 0 simultaneously, what is the resulting state of the Q and outputs?
22 A D-latch has its enable input (E) held high. The D input is connected to a square wave signal with a frequency of 1 MHz. What will the Q output signal look like?
23 What is the primary consequence of violating the setup time () or hold time () of an edge-triggered flip-flop?
24 A positive edge-triggered D flip-flop has its D input connected to its own output. If the flip-flop is initially in the RESET state (Q=0), what will be the state of Q after the 3rd positive clock edge?
25 To use a JK flip-flop to implement the function Q_{next} = , what must the J and K inputs be?
26 A 160 kHz signal is applied to the clock input of a series of four T flip-flops, all configured in toggle mode (T=1). What is the frequency of the output signal from the last flip-flop in the series?
27 To convert a D flip-flop into a JK flip-flop, what combinational logic must be placed at the D input?
28 What is the primary purpose of the master-slave configuration in a flip-flop?
29 Consider a negative edge-triggered JK flip-flop with J=Q and K=1. If the current state is Q=0, what will be the state after the next clock pulse?
30 What is the characteristic equation that defines the next state () of a T flip-flop in terms of its present state (Q) and input (T)?
31 How can an SR flip-flop be converted into a T flip-flop?
32 In a positive level-triggered Master-Slave D flip-flop, at what point in the clock cycle is the input D actually sampled by the master latch?
33 An SR latch is built with two cross-coupled NAND gates. What is the behavior of this latch when S=1 and R=1?
34 A 4-bit shift register is constructed using D flip-flops. An initial value of 1011 is loaded. If the serial input is held at 0, what will be the content of the register after two right shifts?
35 Why is edge triggering generally preferred over level triggering for flip-flops used in synchronous sequential circuits?
36 To convert a JK flip-flop into a T flip-flop, what should the J and K inputs be connected to?
37 A JK flip-flop has a propagation delay () of 15 ns and a setup time () of 5 ns. What is the maximum clock frequency at which this flip-flop can be reliably operated?
38 Consider a D-latch where the D input changes from 0 to 1 at t=5ns. The Enable (E) input is a pulse that is high from t=0ns to t=10ns. The output Q will...
39 A synchronous 2-bit counter is built using T flip-flops. The counter should sequence through 00 -> 01 -> 10 -> 11 -> 00. Let the flip-flops be (MSB) and (LSB). What should be the logic for the T inputs?
40 To use a basic SR latch as a debouncing circuit for a mechanical switch, what property of the latch is being utilized?
41 An SR latch is constructed from two cross-coupled NOR gates with a non-zero, identical propagation delay of . The latch is initially in the state Q=0. At time , both S and R inputs are changed from 0 to 1 simultaneously. They are held at 1 for a duration of and then returned to 0. What is the most likely final state of Q?
42 Consider a D flip-flop with a setup time () of 3ns and a hold time () of 2ns. The data input D is transitioning from low to high, and this transition occurs 1ns before the rising edge of the clock. What will be the state of the output Q after the clock edge?
43 A negative edge-triggered JK flip-flop has a propagation delay of 12 ns from the clock edge to the Q output. The J and K inputs are both tied to HIGH (toggle mode). The clock input is a square wave with a frequency of 50 MHz. What is the effective frequency of the Q output waveform?
44 A Master-Slave JK flip-flop (triggered on the negative edge of CLK) has J=1, K=1. While the CLK is HIGH, a brief, narrow, negative-going glitch appears on the J input (J momentarily goes to 0 and back to 1). The K input remains at 1. What is the state of the output Q after the next negative clock edge?
45 You need to convert a D flip-flop into a JK flip-flop. The conversion requires combinational logic to drive the D input. The D input should be a function of J, K, and the current state Q. What is the correct Boolean expression for the D input?
46 A synchronous counter is built using two T flip-flops ( is MSB, is LSB). The inputs to the flip-flops are given by the equations: and . Starting from the state , what is the sequence of states the counter goes through?
47 The output Q of a transparent D-latch is connected back to its D input through an inverter. The propagation delay of the latch (from D to Q) is and the delay of the inverter is . If the Enable (E) input is held HIGH, what best describes the behavior of the output Q?
48 A 100 MHz clock signal is passed through two consecutive inverters before clocking a D flip-flop. The propagation delay of each inverter is 2 ns. The D input of the flip-flop is tied to the original (pre-inverter) clock signal. The flip-flop has a setup time of 1.5 ns and a hold time of 0.5 ns. How does the flip-flop behave?
49 You want to create a special-purpose flip-flop whose behavior is defined by the characteristic equation , where A and B are external inputs. You must implement this using a T flip-flop and some external logic gates. What should be the logic expression for the T input?
50 A digital circuit has two positive-edge-triggered D flip-flops, FF1 and FF2, sharing the same clock. The Q output of FF1 is connected to the D input of FF2. There is a clock skew of between them, meaning the clock arrives at FF2 at time while it arrives at FF1 at time . Let the propagation delay of FF1 be and the hold time of FF2 be . For the circuit to function correctly, what is the fundamental timing constraint that must be satisfied?
51 A synchronous 2-bit counter using JK flip-flops ( is MSB, is LSB) is designed to follow the sequence 00 -> 10 -> 01 -> 11 -> 00... What are the minimal logic expressions for the inputs and ?
52 A 3-bit asynchronous ripple counter is built using negative-edge-triggered T flip-flops with T inputs tied high. Each flip-flop has a propagation delay of 10 ns. What is the maximum duration of the transient 'glitch' state that occurs when the counter transitions from state 111 to 000?
53 A negative-edge-triggered Master-Slave JK flip-flop has J=0, K=0 and its output Q is initially 0. While the CLK is held HIGH, a brief, narrow, positive-going glitch (0->1->0) occurs on the J input. What will be the state of Q after the subsequent falling edge of the CLK?
54 An SR latch is built with two NAND gates. The inputs are active-low (S' and R'). The latch is in the state Q=1. A single, short, negative-going pulse is applied to the R' input. What is the minimum duration () of this pulse required to reliably change the state of the latch, assuming each NAND gate has a propagation delay of ?
55 A T flip-flop is to be implemented using a JK flip-flop. Which of the following connections ensures this conversion?
56 Consider a negative-edge-triggered JK flip-flop where J = Q' and K = 1. Starting with Q=0, what is the sequence of Q's output over the next 4 clock cycles?
57 In a system with a 50 MHz clock, a D-latch (not a flip-flop) is used to sample a data line. The enable signal for the latch is connected directly to the system clock. The data can change at any time, but is guaranteed to be stable for 5ns before and 5ns after the falling edge of the clock. What is the primary operational risk of using a D-latch in this manner?
58
An edge detector circuit is designed to produce a single, one-clock-cycle-wide HIGH pulse upon detecting a rising edge on an input signal IN. Which design using two D flip-flops (DFF1, DFF2) and a logic gate correctly implements this?
59 A state machine is designed with two T flip-flops, and . The input equations are and , where is the primary input. If the machine starts in state and the input sequence is , what is the final state of the machine?
60 A JK flip-flop has a setup time of 4ns and a hold time of 1ns. It is clocked by a 100MHz signal. The J and K inputs are driven by a combinational logic block which is, in turn, fed by the Q output of the same flip-flop. What is the maximum allowable propagation delay of the combinational logic block for the circuit to operate correctly?
61 A gated SR latch is constructed with NAND gates. The inputs are S, R, and a common Enable (EN). Which input combination creates a potential race condition when the Enable signal transitions from HIGH to LOW?