GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A Moore machine has states A to H, start state A and one input X. Each row lists: state, next state for X=0, next state for X=1, output. A E B 0 B D B 1 C B B 1 D B H 1 E G C 1 F A A 0 G F D 0 H H B 1 What is the minimum number of states of an equivalent Moore machine?
- A. 8
- B. 6
- C. 5
- D. 4
Correct answer: C. 5
States B, C, D and H all have output 1 and their successors lie among themselves and in classes that are equal, so they are one equivalence class. The other classes are {A}, {E}, {F} and {G}, giving 5 states in the minimal machine.
More Digital Logic questions
- A Moore machine outputs 1 exactly when the last four serial input bits are 0101 or 1010 (overlapping allowed) and 0 otherwise, including…
- A circuit receives a BCD digit ABCD (A is the MSB; inputs 1010 to 1111 never occur and may be treated as don't-cares) and outputs F = 1…
- F(A,B,C,D) = 1 when exactly two or exactly three of the four inputs are 1. How many literals does its minimal sum-of-products contain…
- A 2-bit × 2-bit unsigned multiplier has inputs A1A0 and B1B0 and outputs P3P2P1P0. Each output is realised separately by its own minimal…
- A BCD-to-excess-3 converter has inputs A B C D (BCD digit 0-9, codes 10-15 are don't-cares) and outputs w x y z (excess-3 code, w the…
- In a BCD-to-seven-segment decoder (inputs A B C D, A the MSB; codes 10-15 are don't-cares) segment e is on for the digits 0, 2, 6, 8. When…