Skip to content
GATEiit

GATE CSE 2017 Session 1 Q43: T and D flip-flops in a loop: outputs Q1Q0 after 3rd and 4th clock cycles

Syllabus topic: Design of combinational and sequential circuits

Question

Consider a combination of T and D flip-flops connected as shown below. The output of the D flip-flop is connected to the input of the T flip-flop and the output of the T flip-flop is connected to the input of the D flip-flop.

Circuit with a T flip-flop and a D flip-flop sharing a common Clock line connected to both clock inputs. The T flip-flop output is labelled Q1 and is wired to the input of the D flip-flop. The D flip-flop output is labelled Q0 and is wired back, by a line running over the top, to the input of the T flip-flop.
Tap the figure to enlarge

Initially, both Q0 and Q1 are set to 1 (before the 1st clock cycle). The outputs

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2017 final answer key)

Concept used: A T flip-flop toggles when T = 1 (Q+=T⊕Q) and a D flip-flop copies its input (Q+=D); with a common clock both update simultaneously from the old values.

Concept notes

Loading notes…

First step: Use Q1+=Q0⊕Q1 and Q0+=Q1, start from Q1Q0=11, and tabulate the state after each clock edge.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Design of combinational and sequential circuits

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 1 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key