Finite-State Machine Design

Your answer
Answer & solution
Answer: B: 10 (no official key was published)
Initially the possible states are {A,B,C,D}. Applying input 1 reduces this set to {B,D}: A goes to D, while B,C,D go to B. Applying input 0 then sends both B and D to C, so 10 guarantees C. The four paths are A→D→C, B→B→C, C→B→C and D→B→C. No shorter word works: the empty word leaves the initial state unknown, input 0 yields {B,C,D}, and input 1 yields {B,D}. Therefore length two is minimal and option B, 10, is correct. The output labels z do not affect the target-state requirement.