GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A DFA over {a, b} has states 0 to 5, transitions 0: a→5, b→5; 1: a→5, b→3; 2: a→1, b→4; 3: a→0, b→1; 4: a→1, b→1; 5: a→5, b→4. Start 0, accepting {2}. Using the table-filling (Myhill–Nerode) algorithm on all six states (reachable or not), how many unordered pairs of distinct states are equivalent?
- A. 11
- B. 9
- C. 13
- D. 10
Correct answer: D. 10
Mark pairs with different acceptance, then propagate markings backwards through transitions until stable; 5 of the 15 pairs end up marked, leaving 10 equivalent pairs.
More Theory of Computation questions
- A DFA over {a, b} has states 0 to 5, transitions 0: a→4, b→0; 1: a→1, b→1; 2: a→3, b→2; 3: a→2, b→1; 4: a→5, b→2; 5: a→4, b→5. Start 0…
- A DFA over {a, b} has states 0 to 5, transitions 0: a→2, b→4; 1: a→5, b→1; 2: a→2, b→4; 3: a→4, b→5; 4: a→1, b→1; 5: a→3, b→5. Start 0…
- A DFA over {a, b} has states 0 to 5, transitions 0: a→3, b→3; 1: a→0, b→5; 2: a→2, b→3; 3: a→1, b→5; 4: a→0, b→0; 5: a→3, b→3. Start 0…
- A DFA over {a, b} has states 0 to 5, transitions 0: a→5, b→0; 1: a→5, b→1; 2: a→1, b→1; 3: a→5, b→3; 4: a→2, b→3; 5: a→4, b→4. Start 0…
- A DFA over {a, b} has states 0 to 5, transitions 0: a→2, b→0; 1: a→0, b→3; 2: a→2, b→5; 3: a→4, b→2; 4: a→3, b→4; 5: a→4, b→1. Start 0…
- A DFA over {a, b} has states 0 to 5, transitions 0: a→2, b→1; 1: a→5, b→4; 2: a→5, b→4; 3: a→3, b→0; 4: a→0, b→3; 5: a→5, b→1. Start 0…