GATE 2024 set1 · CS · MSQ · 2 marks · Theory of Computation › Regular Languages & Finite Automata
GATE 2024 set1 Computer Science and Information Technology question: Consider the 5-state DFA M accepting the language L(M) (0+1) shown below. For any string…
Consider the 5-state DFA M accepting the language L(M)⊂(0+1)∗ shown below. For any string w∈(0+1)∗ let n0(w) be the number of 0′s in w and n1(w) be the number of 1′s in w.

Which of the following statements is/are FALSE?
- (A)
States 2 and 4 are distinguishable in M
- (B)
States 3 and 4 are distinguishable in M
- (C)
States 2 and 5 are distinguishable in M
- (D)
Any string w with n0(w)=n1(w) is in L(M)
Show answer
Official answer: B,C
Practise this question with exam-style marking