MCQ Practice Question
A finite-state machine uses one-hot encoding for 8 states. In the straightforward one-hot implementation, how many state flip-flops are required?
Correct Answer: C. 8
Explanation: One-hot encoding assigns one flip-flop to each state and keeps exactly one state bit asserted, so eight states require eight state flip-flops.
Reference: Standard digital electronics: one-hot state encoding
