Skip to content
Official PYQ · 1996

GATE CS 1996 Q2.23 — Sequential Circuits

Explain with AI

Consider the following state table for a sequential machine. The number of states in the minimized machine will be

Input01Present StateAD,0B,1BA,0C,1CA,0B,1DA,1C,1Next state, Output\begin{array}{|l|l|ll|}\hline \text{} & \text{} & \textbf{Input}\\ \hline && \text{0} & \text{1} \\ \hline \textbf{Present State} & \textbf{A} & \text{D,0} & \text{B,1} \\ \text{} & \textbf{B} & \text{A,0} & \text{C,1}\\ & \textbf{C} & \text{A,0} & \text{B,1} \\ \text{} & \textbf{D} & \text{A,1} & \text{C,1} \\ \hline \text{} & \text{} & \textbf{Next state, Output}\\ \hline \end{array}

Choose one option
View worked solution

Answer: B

To find the number of states in the minimized machine, we use the state equivalence partitioning method.

Step 1: 00-equivalence partition (P0P_0)

We group the states based on their outputs for each input combination (x=0,x=1)(x = 0, x = 1):

  • State AA: outputs (0,1)(0, 1)
  • State BB: outputs (0,1)(0, 1)
  • State CC: outputs (0,1)(0, 1)
  • State DD: outputs (1,1)(1, 1)

Since A,B,A, B, and CC have the same output behavior, and DD has a different output behavior, we partition them as:

P0={{A,B,C},{D}}P_0 = \{ \{A, B, C\}, \{D\} \}

Step 2: 11-equivalence partition (P1P_1)

We check if the states in the group {A,B,C}\{A, B, C\} transition to the same groups under inputs 00 and 11:

  • For input 00:
    • A→DA \to D (which belongs to the group {D}\{D\})
    • B→AB \to A (which belongs to the group {A,B,C}\{A, B, C\})
    • C→AC \to A (which belongs to the group {A,B,C}\{A, B, C\})

Since AA transitions to a different group than BB and CC on input 00, state AA must be split from the group.

Now we check BB and CC:

  • For input 00: both BB and CC transition to AA (same group).
  • For input 11: B→CB \to C and C→BC \to B (both belong to the group {A,B,C}\{A, B, C\}).

Thus, BB and CC remain equivalent. The new partition is:

P1={{A},{B,C},{D}}P_1 = \{ \{A\}, \{B, C\}, \{D\} \}

Step 3: 22-equivalence partition (P2P_2)

We check the remaining multi-state group {B,C}\{B, C\} with respect to the partition P1P_1:

  • For input 00: both BB and CC transition to AA (which belongs to the block {A}\{A\}).
  • For input 11: B→CB \to C and C→BC \to B (both belong to the block {B,C}\{B, C\}).

Since their transitions fall into the same blocks of P1P_1, BB and CC remain equivalent:

P2={{A},{B,C},{D}}P_2 = \{ \{A\}, \{B, C\}, \{D\} \}

Since P2=P1P_2 = P_1, the partition has stabilized. The minimized states are:

  1. State AA
  2. Equivalent state BCBC
  3. State DD

Therefore, the number of states in the minimized machine is 33.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sequential Circuits questions