GATE CS 2011 · Question 26 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Consider the languages L1, L2 and L3 as given below.
L1 = {0ᵖ 1^q | p, q ∈ ℕ},
L2 = {0ᵖ 1^q | p, q ∈ ℕ and p = q} and
L3 = {0ᵖ 1^q 0ʳ | p, q, r ∈ ℕ and p = q = r}. Which of the following statements is NOT TRUE ?
- (A) Push Down Automata (PDA) can be used to recognize L1 and L2
- (B) L1 is a regular language
- (C) All the three languages are context free
- (D) Turing machines can be used to recognize all the languages
Answer
Answer (C)
Answer from the official GATE CS 2011 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes