Two T flip-flops are connected as shown. Initially A = B = 1. Input x takes values 1,0,1 in the next three clock cycles. Find the decimal value of binary $(ABy)_2$ after the third cycle, with A the MSB and y the LSB.
From the diagram, $T_A=\overline{xB}$, $T_B=x$, and $y=A+B$. A T flip-flop updates by $Q^+=Q\oplus T$. Start at AB = 11. For x = 1, $T_A=0,T_B=1$, giving 10. For x = 0, $T_A=1,T_B=0$, giving 00. For x = 1 again, both toggle, giving 11. Then y = 1, so $(ABy)_2=111_2=7$.
More Sequential logic and counters: Sequential circuits, finite state machines, flip-flops, shift registers, timers and counters questions
GATE 2026 IN Q47– The initial state Q 3Q 2Q 1Q 0 in the digital circuit shown below is 1011. The new value…
GATE 2025 IN Q40– The digital circuit shown has clock frequency 12 MHz. Its output F frequencies for Control…
GATE 2024 IN Q42– The positive-edge-triggered D flip-flops shown are initially reset to Q=0. Gates and…
GATE 2023 IN Q16– The table gives present state, next state, and control input. Identify the flip-flop.…
GATE 2023 IN Q42– In the circuit shown, the initial binary content of shift register A is 1101 and that of…