GATE | GATE-CS-2017 (Set 2) | Question 50
Let L(R) be the language represented by regular expression R. Let L(G) be the language generated by a context free grammar G. Let L(M) be the language accepted by a Turing machine M. Which of the following decision problems are undecidable?
I. Given a regular expression R and a string w, is w∈L(R)?
II. Given a context-free grammar G, is L(G)=∅
III. Given a context-free grammar G, is L(G)=Σ∗ for some alphabet Σ?
IV. Given a Turing machine M and a string w, is w ∈ L(M)?
(A) I and IV only
(B) II and III only
(C) II, III and IV only
(D) III and IV only
Answer: (D)
Explanation:
- Membership problem of regular language ->Decidable
- Emptyness of CFL ->Decidable
- L(G)=Σ∗ problem of CFL -> UNdecidable
- Membership problem of RE language -> UNdecidable
Therefore , option D
Quiz of this Question
Recommended Posts:
- GATE | GATE-CS-2015 (Mock Test) | Question 2
- GATE | GATE-CS-2015 (Mock Test) | Question 17
- GATE | GATE-CS-2015 (Mock Test) | Question 4
- GATE | GATE-CS-2015 (Mock Test) | Question 5
- GATE | GATE-CS-2015 (Mock Test) | Question 10
- GATE | GATE-CS-2015 (Mock Test) | Question 10
- GATE | GATE-CS-2015 (Mock Test) | Question 8
- GATE | GATE-CS-2015 (Mock Test) | Question 9
- GATE | GATE-CS-2015 (Mock Test) | Question 10
- GATE | GATE-CS-2015 (Mock Test) | Question 11
- GATE | GATE-CS-2015 (Mock Test) | Question 17
- GATE | GATE-CS-2015 (Mock Test) | Question 13
- GATE | GATE-CS-2015 (Mock Test) | Question 14
- GATE | GATE-CS-2015 (Mock Test) | Question 17
- GATE | GATE-CS-2015 (Mock Test) | Question 16