A finite-state machine uses one-hot encoding for 8 states. In the straightforward one-hot implementation, how many state flip-flops are required?

  • A3
  • B4
  • C8
  • D16
Report an error
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
Continue practicing: Digital Electronics MCQs or browse all MCQs.