← RGPV CD-501 Theory of Computation December 2024 Solved Question Paper
Question
Minimize the DFA with initial q₀, finals {q₁,q₂,q₄}, and transitions on (0,1): q₀→(q₃,q₁); q₁→(q₂,q₅); q₂→(q₂,q₅); q₃→(q₀,q₄); q₄→(q₂,q₅); q₅→(q₅,q₅).
Asked in: CD-501 | December 2024 | 2(a)
Answer
The initial state is q₀ and accepting states are q₁,q₂,q₄. Reading the supplied diagram gives the following transition table.
| State | 0 | 1 |
|---|---|---|
| q₀ | q₃ | q₁ |
| q₁ | q₂ | q₅ |
| q₂ | q₂ | q₅ |
| q₃ | q₀ | q₄ |
| q₄ | q₂ | q₅ |
| q₅ | q₅ | q₅ |
Begin with the partition of final and nonfinal states: {q₁,q₂,q₄} and {q₀,q₃,q₅}. All states are reachable. On symbol 1, q₀ and q₃ enter the final block, whereas q₅ remains nonfinal. Split the nonfinal block accordingly. The final block stays together because each member enters the final block on 0 and the dead block on 1.
Let A={q₀,q₃}, B={q₁,q₂,q₄}, C={q₅}. The partition is stable: each state in a block has identical destination blocks on both inputs.
| State | 0 | 1 |
|---|---|---|
| → A | A | B |
| * B | B | C |
| C | C | C |
B is distinguished from A and C by ε; A is distinguished from C by input 1. Therefore no further merging is possible. The minimized machine accepts precisely binary strings containing exactly one 1.

← RGPV CD-501 Theory of Computation December 2024 Solved Question Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion