GATE CS 2011 · Question 51 · Digital Logic · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

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.
If all the flip-flops were reset to 0 at power on, what is the total number of distinct outputs (states) represented by PQR generated by the counter?

Three D flip-flops stacked vertically, all driven by a common 'clock' input. Each flip-flop has a D input, a Q output and a Q-bar output. Top flip-flop: its Q output is labelled P. Its D input is connected to the output R of the bottom flip-flop. Middle flip-flop: its Q output is labelled Q. Its D input is driven by a 2-input NOR gate whose inputs are P (fed back from the top flip-flop's output) and R (the same wire that feeds the top flip-flop's D input). Bottom flip-flop: its Q output is labelled R. Its D input is driven by a 2-input AND gate whose inputs are Q (from the middle flip-flop's…
  1. (A) 3
  2. (B) 4
  3. (C) 5
  4. (D) 6
Answer

Answer (B)

Answer from the official GATE CS 2011 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes