Similar questions 18 more →
Counters & Timing


Answer & solution
Official answer: B
From the figure the synchronous next-state equations are P_next=R, Q_next=NOT(P OR R), and R_next=Q AND NOT R. Starting from the power-on reset 000 gives 000→010→011→100→000. These four states are distinct, and the return to 000 repeats the same deterministic cycle. Thus the number of reachable states from reset is 4, option B; the question does not ask for all eight possible register patterns.
Evaluate every transition with the same pre-edge rule. At 000 the next bits are 0,1,0. At 010 they are 0,1,1. At 011 they are 1,0,0. At 100 they are 0,0,0. The reset state is included in the count, so there are four distinct states before repetition, not three transitions away from reset. A three-bit register can represent eight states, but its next-state logic and initialization restrict the reachable sequence.