A two-out-of-five code consists of:
Two 0s and three 1s
Three 0s and two 1s
Four 0s and one 1
One 0 and four 1s
Correct Answer: B — Three 0s and two 1s
Explanation:
A two-out-of-five code consists of three 0s and two 1s, giving ten possible combinations to represent digits 0–9.