GATE CS 2013 · Question 33 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Consider the DFA A given below.
Which of the following are FALSE ?
1. Complement of L(A) is context-free.
2. L(A) = L((11^*0+0)(0+1)^*0^*1^*)
3. For the language accepted by A, A is the minimal DFA.
4. A accepts all strings over {0, 1} of length at least 2.

DFA with three states. The start state (marked by an incoming arrow from the left, top-left position) is non-accepting. From the start state, an edge labelled 1 goes to a second non-accepting state (top-right), and an edge labelled 0 goes to the third state (bottom), which is accepting (double circle). The second state has a self-loop labelled 1 and an edge labelled 0 to the accepting state. The accepting state has a self-loop labelled 0,1.
  1. (A) 1 and 3 only
  2. (B) 2 and 4 only
  3. (C) 2 and 3 only
  4. (D) 3 and 4 only
Answer

Answer (D)

Answer from the official GATE CS 2013 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes