GATE 2023 IN – Question 42
In the circuit shown, the initial binary content of shift register A is 1101 and that of shift register B is 1010. The shift registers are positive-edge triggered, and the gates have no delay. When the shift control is high, what will be the binary content of the shift registers A and B after four clock pulses?

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) A = 0101, B = 1101
Explanation
The bit entering A is its last bit XOR the complement of its second bit. Evaluate each update from the pre-clock state. The successive (A,B) states are (1110,1101), (0111,0110), (1011,1011), (0101,1101). After four clocks the answer is **A = 0101, B = 1101; C**.