GATE CS 2024 Set 1 — Question 50
MSQ+2 / -0MediumDFA MinimizationFinite Automata & Regular LanguagesTheory of Computation
Theory of Computation → Finite Automata & Regular Languages → DFA Minimization
Last updated
Question
Consider the 5-state DFA accepting the language shown below. For any string let be the number of 0's in and be the number of 1's in .

A.
States 2 and 4 are distinguishable in
B.
States 3 and 4 are distinguishable in
C.
States 2 and 5 are distinguishable in
D.
Any string with is in
L(M)Correct answer
(B) States 3 and 4 are distinguishable in M; (C) States 2 and 5 are distinguishable in M
Solution
To identify the FALSE statement(s), we analyze the given DFA :1. DFA Components:
Two states are distinguishable if there exists a string such that exactly one of is in .
- States
- Start state
- Final states (indicated by the double circle)
- Transitions :
Two states are distinguishable if there exists a string such that exactly one of is in .
- (A) States 2 and 4: and . Thus, 2 and 4 are distinguishable. Statement (A) is TRUE.
- (B) States 3 and 4: and . Thus, 3 and 4 are distinguishable. Statement (B) is TRUE.
- (C) States 2 and 5: and . Thus, 2 and 5 are distinguishable. Statement (C) is TRUE.
- Statement (D) claims that any string with an equal number of 0s and 1s is accepted.
- Consider the string . Here and .
- Trace in the DFA: .
- The final state reached is 3, which is not a final state ().
- Since , statement (D) is FALSE.
More questions on Finite Automata & Regular Languages
2024 Set 2 Q22Which one of the following regular expressions is equivalent to the language accepted by the DFA…2024 Set 1 Q23Let be two regular languages and a language which is not regular. Which of the…2024 Set 2 Q41Let be the 5-state NFA with -transitions shown in the diagram below. [figure] Which…2024 Set 2 Q52Consider a context-free grammar with the following 3 rules.…2024 Set 1 Q59Let be a context-free grammar in Chomsky Normal Form with…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free