Common data questions
Common Data for Questions 50 and 51:
Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.
Shared with question 50.
Question
If all the flip-flops were reset to 0 at power on, what is the total number of distinct outputs (states) represented by generated by the counter?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2011 answer key
Solution
Trace the state transition sequence starting from reset state 000 until a state repeats.
- Next-state equations: , , .
- Step 0 (initial reset):
Next state is .
- Step 1:
Next state is .
- Step 2:
Next state is .
- Step 3:
Next state is (cycle repeats).
- The sequence of states visited is . There are exactly 4 distinct states in the cycle.
Final answer
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2011 Computer Science and Information Technology (CS)
- Question
- 51 of 65, printed as CS Q.51
- 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.