Question
Official answer and solution
- Official answer
- C
- From
- Official GATE 2014 answer key
Solution
Write the Boolean flip-flop input equations from the schematic and trace state transitions for 3 consecutive clock cycles.
-
Determine Flip-Flop Inputs from Circuit:
From the schematic diagram:- Flip-flop 2 ():
- Flip-flop 1 ():Notice that and means acts as a D flip-flop with input , so .
- Flip-flop 0 ():
- Flip-flop 2 ():
-
JK Flip-Flop Characteristic Equation:
-
Clock-by-Clock Trace from Initial State :
-
Clock Cycle 1 (State 000):
- Inputs:
.
.
. - Next state after cycle 1: 100.
- Inputs:
-
Clock Cycle 2 (State 100):
- Inputs:
.
.
. - Next state after cycle 2: 110.
- Inputs:
-
Clock Cycle 3 (State 110):
- Inputs:
(no change).
.
( toggles ). - Next state after cycle 3: 111.
- Inputs:
-
-
Thus, the state sequence for the next 3 clock cycles is
100, 110, 111(option C).
C
Misidentifying the feedback connection of K2 to Q0 or confusing J and K inputs.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 3
- Question
- 55 of 65, printed as CS Q.45
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.