Sequential Logic · Digital Electronics
14 questions · asked in 12 of 13 years (2014–2026)
MCQ 13 · NAT 11-mark 2 · 2-mark 12
2014Questions per year2026
Questions 11–14 of 14
A 2-bit synchronous counter using two - flip flops is shown. The expressions for the inputs to the - flip flops are also shown in the figure. The output sequence of the counter starting from is
(corrected from the official paper)
(corrected from the official paper)
Answer: (C)
Corrected question. The GATE 2018 paper prints the J input of the second flip-flop as . With that input the counter goes 00 to 01 to 11 to 10 to 01 and never returns to 00, so no option matches. This version removes the overbar on , giving .
Characteristic equation of a JK flip-flop: . So J=K=0 holds, J=1,K=0 sets, J=0,K=1 resets, and J=K=1 toggles.
Inputs: .
State 00: J1=0, K1=1, so Q1 resets to 0. J2=1, K2=1, so Q2 toggles to 1. Next state 01.
State 01: J1=1, K1=1, so Q1 toggles to 1. J2=1, K2=0, so Q2 sets to 1. Next state 11.
State 11: J1=1, K1=0, so Q1 sets to 1. J2=1, K2=1, so Q2 toggles to 0. Next state 10.
State 10: J1=1, K1=1, so Q1 toggles to 0. J2=0, K2=1, so Q2 resets to 0. Next state 00.
Sequence: 00 → 01 → 11 → 10 → 00. This is a Gray-code count, not the binary count in (B).
Answer: (C)
Characteristic equation of a JK flip-flop: . So J=K=0 holds, J=1,K=0 sets, J=0,K=1 resets, and J=K=1 toggles.
Inputs: .
State 00: J1=0, K1=1, so Q1 resets to 0. J2=1, K2=1, so Q2 toggles to 1. Next state 01.
State 01: J1=1, K1=1, so Q1 toggles to 1. J2=1, K2=0, so Q2 sets to 1. Next state 11.
State 11: J1=1, K1=0, so Q1 sets to 1. J2=1, K2=1, so Q2 toggles to 0. Next state 10.
State 10: J1=1, K1=1, so Q1 toggles to 0. J2=0, K2=1, so Q2 resets to 0. Next state 00.
Sequence: 00 → 01 → 11 → 10 → 00. This is a Gray-code count, not the binary count in (B).
Answer: (C)
The two inputs A and B are connected to an R-S latch via two AND gates as shown in the figure. If and , the output is
Answer: (B)
From the figure, the AND gates give and .
With and : and .
Case Q = 0: , so . This sets the latch, so and .
Case Q = 1: , so . The latch holds, so stays.
In both cases the latch ends at . This state is stable because means no change.
So .
Answer: (B)
With and : and .
Case Q = 0: , so . This sets the latch, so and .
Case Q = 1: , so . The latch holds, so stays.
In both cases the latch ends at . This state is stable because means no change.
So .
Answer: (B)
A synchronous counter using two J - K flip flops that goes through the sequence of states: is required. To achieve this, the inputs to the flip flops are
Answer: (B)
Use the J-K rule: J=K=0 holds, J=K=1 toggles, and in general . Test option (B), and . Here toggles on every clock. toggles only when the present , and holds when .
00: goes to 1, holds at 0, so the next state is 10. ✓
10: goes to 0, toggles to 1, so the next state is 01. ✓
01: goes to 1, holds at 1, so the next state is 11. ✓
11: goes to 0, toggles to 0, so the next state is 00. ✓
The other options fail. In (A), and , so cannot rise from state 00. In (C), toggles every clock, so 00 would go to 01, not 10. In (D), from state 10, and , so stays 1 instead of falling to 0.
Answer: (B)
00: goes to 1, holds at 0, so the next state is 10. ✓
10: goes to 0, toggles to 1, so the next state is 01. ✓
01: goes to 1, holds at 1, so the next state is 11. ✓
11: goes to 0, toggles to 0, so the next state is 00. ✓
The other options fail. In (A), and , so cannot rise from state 00. In (C), toggles every clock, so 00 would go to 01, not 10. In (D), from state 10, and , so stays 1 instead of falling to 0.
Answer: (B)
For the circuit shown in the figure, the rising edge triggered D-flip flop with asynchronous reset has a clock frequency of 1 Hz. The NMOS transistor has an ON resistance of and an OFF resistance of infinity. The nature of the output waveform is
Answer: (A)
The D input is tied HIGH, so each rising clock edge sets Q = 1 and . The NMOS gate is driven by . The comparator output drives the asynchronous reset R, and it goes high when the capacitor voltage exceeds 0.1 V.
Reset state: Q = 0 and , so the NMOS is ON. The capacitor is held near 0 V, at about .
Clock edge (once per second): , so the NMOS turns OFF. The 1 µA source charges the 2 µF capacitor linearly at .
The voltage reaches 0.1 V after . The comparator output goes high and resets the flip-flop, so and the NMOS turns ON.
The capacitor then discharges through 1000 Ω with . This is a very fast exponential decay. Once the voltage is below 0.1 V the reset is released, but still holds the NMOS ON. The output stays near 0 V until the next clock edge.
The output is therefore a linear ramp for 0.2 s, a quick exponential fall, then a flat low level for about 0.8 s, repeating every 1 s. Option (B) is wrong because it shows slow exponential decay, and (C) and (D) are wrong because they show a held high level.
Answer: (A)
Reset state: Q = 0 and , so the NMOS is ON. The capacitor is held near 0 V, at about .
Clock edge (once per second): , so the NMOS turns OFF. The 1 µA source charges the 2 µF capacitor linearly at .
The voltage reaches 0.1 V after . The comparator output goes high and resets the flip-flop, so and the NMOS turns ON.
The capacitor then discharges through 1000 Ω with . This is a very fast exponential decay. Once the voltage is below 0.1 V the reset is released, but still holds the NMOS ON. The output stays near 0 V until the next clock edge.
The output is therefore a linear ramp for 0.2 s, a quick exponential fall, then a flat low level for about 0.8 s, repeating every 1 s. Option (B) is wrong because it shows slow exponential decay, and (C) and (D) are wrong because they show a held high level.
Answer: (A)
Keep practising
Topics in Digital Electronics
Combinational Logic
Sequential LogicYou are here
Data ConvertersEmbedded Systems, Data Acquisition and IoT