Consider the following state table for a sequential machine. The number of states in the minimized machine will be
View worked solution
Answer: B
To find the number of states in the minimized machine, we use the state equivalence partitioning method.
Step 1: -equivalence partition ()
We group the states based on their outputs for each input combination :
- State : outputs
- State : outputs
- State : outputs
- State : outputs
Since and have the same output behavior, and has a different output behavior, we partition them as:
Step 2: -equivalence partition ()
We check if the states in the group transition to the same groups under inputs and :
- For input :
- (which belongs to the group )
- (which belongs to the group )
- (which belongs to the group )
Since transitions to a different group than and on input , state must be split from the group.
Now we check and :
- For input : both and transition to (same group).
- For input : and (both belong to the group ).
Thus, and remain equivalent. The new partition is:
Step 3: -equivalence partition ()
We check the remaining multi-state group with respect to the partition :
- For input : both and transition to (which belongs to the block ).
- For input : and (both belong to the block ).
Since their transitions fall into the same blocks of , and remain equivalent:
Since , the partition has stabilized. The minimized states are:
- State
- Equivalent state
- State
Therefore, the number of states in the minimized machine is .
Free practice · Your answers on this page are not saved.
