Sequential Circuit · Digital Logic
32 questions · asked in 19 of 27 years (2000–2026)
MCQ 27 · NAT 51-mark 20 · 2-mark 12
2000Questions per year2026
Questions 21–25 of 32
Which of the following input sequences for a cross-coupled R-S flip-flop realized with two NAND gates may lead to an oscillation?
Answer: (D)
A NAND gate gives 1 if any input is 0, and 0 only when both inputs are 1.
Take the cross-coupled NAND latch with inputs . Both gates have a 0 input, so both outputs are . This is steady, but the outputs are not complements.
Now change the inputs to . Each gate now has one input at 1 and the other input is the output of the other gate, which is also 1. So both gates try to switch to 0 together.
- If one gate is a little faster, its 0 holds the other gate at 1 and the latch settles to a valid state.
- If both switch at the same moment, both outputs become 0. Each gate then sees a 0 input, so both outputs go back to 1. This repeats, so the outputs keep toggling together (oscillation).
This happens only if the two gates have almost equal delays, which is why the question says "may". The other sequences cannot oscillate. then just ends in . and are the normal set and reset inputs.
Answer: (D)
Take the cross-coupled NAND latch with inputs . Both gates have a 0 input, so both outputs are . This is steady, but the outputs are not complements.
Now change the inputs to . Each gate now has one input at 1 and the other input is the output of the other gate, which is also 1. So both gates try to switch to 0 together.
- If one gate is a little faster, its 0 holds the other gate at 1 and the latch settles to a valid state.
- If both switch at the same moment, both outputs become 0. Each gate then sees a 0 input, so both outputs go back to 1. This repeats, so the outputs keep toggling together (oscillation).
This happens only if the two gates have almost equal delays, which is why the question says "may". The other sequences cannot oscillate. then just ends in . and are the normal set and reset inputs.
Answer: (D)
Consider the circuit in the diagram. The operator represents Ex-OR. The D flip-flops are initialized to zeroes (cleared).
The following data : 100110000 is supplied to the "data" terminal in nine clock cycles. After that the values of are
The following data : 100110000 is supplied to the "data" terminal in nine clock cycles. After that the values of are
Answer: (C)
From the figure, the next-state equations are:
, , .
So on each clock: new = data, new = old old , new = old . The start state is .
After 9 clocks, , , , so .
Answer: (C)
, , .
So on each clock: new = data, new = old old , new = old . The start state is .
After 9 clocks, , , , so .
Answer: (C)
You are given a free running clock with a duty cycle of 50% and a digital waveform f which changes only at the negative edge of the clock. Which one of the following circuits (using clocked D flip flops) will delay the phase of f by ?
Answer: (C)
In the timing diagram below, f is taken as a square wave that changes at falling clock edges, so f stays high for one clock period and low for one clock period. Its period is two clock periods, so a delay of means a delay of exactly one clock period, with f not inverted. A D flip-flop with a plain clock input samples D at the rising edge; one with an inverter on its clock samples at the falling edge.
Circuit C: flip-flop 1 samples f at the rising edge. f is steady then, since it changes only at falling edges, so its output is f held until the next rising edge. Flip-flop 2 has an inverted clock, so it samples that output at the next falling edge. f changed at a falling edge and its copy appears at the next falling edge, one clock period later. Nothing is inverted, so the output is f delayed by one clock period, which is .
Why the others fail:
(B) The inverter at the input of flip-flop 1 stores . The output is delayed by one clock period. For this square wave that looks the same as f itself (no shift, ), and for any other f it is inverted, so it is not a delay.
(A) Flip-flop 1 samples at the falling edge, the same instant f changes. If it takes the new value of f, the total delay is half a clock period (, as drawn); if it takes the old value, the total delay is one and a half clock periods (). Either way it is not one clock period. The inverter at its input is undone by taking .
(D) Flip-flop 1 also samples at the falling edge, so the delay is not one clock period, as in (A). The output is also taken from , so it is inverted as well.
Timing diagram:
Answer: (C)
Circuit C: flip-flop 1 samples f at the rising edge. f is steady then, since it changes only at falling edges, so its output is f held until the next rising edge. Flip-flop 2 has an inverted clock, so it samples that output at the next falling edge. f changed at a falling edge and its copy appears at the next falling edge, one clock period later. Nothing is inverted, so the output is f delayed by one clock period, which is .
Why the others fail:
(B) The inverter at the input of flip-flop 1 stores . The output is delayed by one clock period. For this square wave that looks the same as f itself (no shift, ), and for any other f it is inverted, so it is not a delay.
(A) Flip-flop 1 samples at the falling edge, the same instant f changes. If it takes the new value of f, the total delay is half a clock period (, as drawn); if it takes the old value, the total delay is one and a half clock periods (). Either way it is not one clock period. The inverter at its input is undone by taking .
(D) Flip-flop 1 also samples at the falling edge, so the delay is not one clock period, as in (A). The output is also taken from , so it is inverted as well.
Timing diagram:
Answer: (C)
How many pulses are needed to change the contents of a 8-bit up counter from 10101100 to 00100111 (rightmost bit is the LSB)?
Answer: (D)
The counter is 8 bits, so it counts to and then wraps back to .
Start: . End: .
- From 172 up to 255: pulses.
- One more pulse takes 255 to 0 (the wrap-around): pulse.
- From 0 up to 39: pulses.
Total: pulses. (Same as .)
Answer: (D)
Start: . End: .
- From 172 up to 255: pulses.
- One more pulse takes 255 to 0 (the wrap-around): pulse.
- From 0 up to 39: pulses.
Total: pulses. (Same as .)
Answer: (D)
Consider the following circuit.
The flip-flops are positive edge triggered D FFs. Each state is designated as a two-bit string Q0Q1 . Let the initial state be 00. the state transition sequence is
The flip-flops are positive edge triggered D FFs. Each state is designated as a two-bit string Q0Q1 . Let the initial state be 00. the state transition sequence is
Answer: (D)
From the circuit: and . On each rising clock edge, and . So toggles every clock. when and are different, that is, when and are equal.
State :
: , , next state
: , , next state
: , , next state
: , , next state
So the sequence is , which is choice (d).
Answer: (D)
State :
: , , next state
: , , next state
: , , next state
: , , next state
So the sequence is , which is choice (d).
Answer: (D)
Keep practising