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.

Synchronous counter circuit with three D flip-flops P, Q, R, NOR gate generating D of Q from P and R, and AND gate generating D of R from Q and R-bar

Shared with question 51.

Question

If at some instance prior to the occurrence of the clock edge, P,QP, Q and RR have a value 0, 1 and 0 respectively, what shall be the value of PQRPQR after the clock edge?

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2011 answer key

Solution

Derive the next-state Boolean expressions for the three D flip-flops from the circuit schematic.

  1. From the circuit diagram:
  • The input DPD_P connects to the output RR of flip-flop R: DP=RD_P = R.
  • The NOR gate receives inputs PP and RR, feeding DQD_Q: DQ=P+R‾D_Q = \overline{P + R}.
  • The AND gate receives input QQ and inverted output R‾\overline{R} of flip-flop R, feeding DRD_R: DR=Q⋅R‾D_R = Q \cdot \overline{R}.
  1. Given initial state prior to clock edge: P=0,Q=1,R=0P = 0, Q = 1, R = 0.
  1. Evaluate the flip-flop inputs:
  • DP=R=0D_P = R = 0
  • DQ=0+0‾=1D_Q = \overline{0 + 0} = 1
  • DR=Q⋅R‾=1⋅0‾=1⋅1=1D_R = Q \cdot \overline{R} = 1 \cdot \overline{0} = 1 \cdot 1 = 1
  1. After the clock edge, the next state (P+,Q+,R+)=(DP,DQ,DR)=(0,1,1)=011(P^+, Q^+, R^+) = (D_P, D_Q, D_R) = (0, 1, 1) = 011.
Final answer

D

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
50 of 65, printed as CS Q.50
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.