Skip to content
GATEiit

GATE EC 2026 Q49: Shift register with D flip-flop and XOR feedback after five clocks

Syllabus topics: Shift-registers; Latches and flip-flops

Question

A shift-left Shift Register (SR) and a D flip-flop are connected to a synchronized clock as shown in the Figure. Assume that the SR and D flip-flops are initially cleared and the XOR gate has no propagation delay.

Which of the following options gives the correct binary representation (b7b6b5b4b3b2b1b0) of the content of the shift register immediately after the 5th clock transition (positive edge)?

An 8-bit shift-left register labelled SR (Shift Left) with cells b7 b6 b5 b4 b3 b2 b1 b0 from left to right. The output b7 (left end) is wired to the D input of a D flip-flop. The flip-flop's Q output goes to one input of an XOR gate; the other XOR input is tied to logic 1. The XOR output feeds the serial input at the b0 (right) end of the register. Q-bar is unconnected. A common clock pulse line drives both the flip-flop clock input C and the shift register clock.
Tap the figure to enlarge

Try it: multiple choice: exactly one correct option

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

Answer: A (official GATE 2026 final answer key)

Concept used: Synchronous sequential circuit: on each edge the register shifts in the current XOR output (Qˉ, since Q⊕1=Qˉ) while the flip-flop captures the old b7.

Concept notes

Loading notes…

First step: Tabulate clock by clock: serial input =Q‾ (old value) and next Q= old b7, starting from all zeros.

Full step-by-step solution

Loading…

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

Share this question

WhatsAppDownload image

Source: official GATE 2026 EC question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key