Sequential Circuits · Digital Circuits
50 questions · asked in 23 of 26 years (2001–2026)
MCQ 37 · MSQ 2 · NAT 111-mark 33 · 2-mark 17
2001Questions per year2026
Questions 1–5 of 50
A binary ripple counter is designed to count to .
Which of the following is/are the number of flip-flops required to design the counter?
Which of the following is/are the number of flip-flops required to design the counter?
One or more options are correct.
Answer: (B)
The counter goes from 0 to 64, so it must hold 65 different states.
With flip-flops, the most states (the MOD number) we can get is:
For 65 states, this must hold:
That is,
So the least number of flip-flops needed for this counter is 7.
With flip-flops, the most states (the MOD number) we can get is:
For 65 states, this must hold:
That is,
So the least number of flip-flops needed for this counter is 7.
The negative edge triggered JK flip-flop in the Figure has and inputs tied to Logic High and a square wave of is applied to its clock () input.
The frequency of the output (in cycles/second) is _______. (rounded off to two decimal places)
The frequency of the output (in cycles/second) is _______. (rounded off to two decimal places)
Answer: 4.9 to 5.1
Given:
The JK flip-flop is negative edge triggered.
Inputs: (Logic High)
The clock is a square wave at
Step 1: JK flip-flop when J = K = 1
For , the flip-flop works in toggle mode. The output changes state at every active clock edge.
Step 2: Number of active edges
The flip-flop is negative edge triggered, so it toggles at each falling edge. A 10 Hz square wave gives 10 falling edges in one second.
Step 3: Output frequency
As toggles at each falling edge, it needs 2 falling edges to finish one full cycle:
The JK flip-flop is negative edge triggered.
Inputs: (Logic High)
The clock is a square wave at
Step 1: JK flip-flop when J = K = 1
For , the flip-flop works in toggle mode. The output changes state at every active clock edge.
Step 2: Number of active edges
The flip-flop is negative edge triggered, so it toggles at each falling edge. A 10 Hz square wave gives 10 falling edges in one second.
Step 3: Output frequency
As toggles at each falling edge, it needs 2 falling edges to finish one full cycle:
A shift-left Shift Register (SR) and a D flip-flop are connected to a synchronized clock as shown in the Figure. Assume that the SR and D flip-flops are initially cleared and the XOR gate has no propagation delay.
Which of the following options gives the correct binary representation of the content of the shift register immediately after the clock transition (positive edge)?
Which of the following options gives the correct binary representation of the content of the shift register immediately after the clock transition (positive edge)?
Answer: (A)
From the figure, the D flip-flop takes its input from . The serial input of the shift register () comes from the XOR gate, whose inputs are Q and 1:
Everything starts at 0, so and a 1 enters at . Q only changes when becomes 1, and a 1 needs 8 clocks to reach . So Q stays 0 for the first five clocks and a 1 is shifted in at every clock.
After clock 1:
After clock 2:
After clock 3:
After clock 4:
After clock 5:
Answer: (A)
Everything starts at 0, so and a 1 enters at . Q only changes when becomes 1, and a 1 needs 8 clocks to reach . So Q stays 0 for the first five clocks and a 1 is shifted in at every clock.
After clock 1:
After clock 2:
After clock 3:
After clock 4:
After clock 5:
Answer: (A)
A positive-edge-triggered sequential circuit is shown below. There are no timing violations in the circuit. Input P0 is set to logic '0' and P1 is set to logic '1' at all times. The timing diagram of the inputs SEL and S are also shown below.
The sequence of output Y from time to is __________ .
The sequence of output Y from time to is __________ .
Answer: (A)
Circuit equations (P0 = 0, P1 = 1):
- First MUX:
- Second MUX:
- Output:
Both flip-flops change at every rising clock edge. They use the values of SEL, S and Q1 that exist just before that edge. Read from the timing diagram:
| Edge (before) | SEL | S | Q1 (new) | Q2 (new) | Y at |
|---|---|---|---|---|---|
| edge before T0 | 0 | 0 | 0 | 1 | T0: 1 |
| edge before T1 | 1 | 0 | 0 | Q1(old)=0 | T1: 0 |
| edge before T2 | 1 | 1 | 1 | Q1(old)=0 | T2: 1 |
| edge before T3 | 0 | 1 | 0 | 1 | T3: 1 |
So Y from T0 to T3 is 1 0 1 1.
Correct answer: (A)In the circuit shown below, the AND gate has a propagation delay of 1 ns. The edge-triggered flipflops have a set-up time of 2 ns, a hold-time of 0 ns, and a clock-to-Q delay of 2 ns.
The maximum clock frequency (in MHz, rounded off to the nearest integer) such that there are no setup violations is __________ .
The maximum clock frequency (in MHz, rounded off to the nearest integer) such that there are no setup violations is __________ .
Answer: 200
Setup time condition:
Data launched by one clock edge must reach the next flip-flop and settle at least one setup time before the following edge. The clock period is set by the slowest flip-flop-to-flip-flop path.
Path 1, FF1 to FF2 (direct): clock-to-Q + setup = 2 ns + 2 ns = 4 ns
Path 2, FF2 through the AND gate to FF1: clock-to-Q + AND delay + setup = 2 ns + 1 ns + 2 ns = 5 ns
Path 2 is the longest, so it is the critical path:
Maximum clock frequency:
(The hold time is 0 ns, so it does not limit the frequency.)
Answer: 200 MHz
Data launched by one clock edge must reach the next flip-flop and settle at least one setup time before the following edge. The clock period is set by the slowest flip-flop-to-flip-flop path.
Path 1, FF1 to FF2 (direct): clock-to-Q + setup = 2 ns + 2 ns = 4 ns
Path 2, FF2 through the AND gate to FF1: clock-to-Q + AND delay + setup = 2 ns + 1 ns + 2 ns = 5 ns
Path 2 is the longest, so it is the critical path:
Maximum clock frequency:
(The hold time is 0 ns, so it does not limit the frequency.)
Answer: 200 MHz
Keep practising