MCQ · 2 marks · Computability

GATE CS 2017 CS-2 — Q41

Let L(R)L(R) be the language represented by regular expression RR. Let L(G)L(G) be the language generated by a context free grammar GG. Let L(M)L(M) be the language accepted by a Turing machine MM.
Which of the following decision problems are undecidable?

I. Given a regular expression RR and a string ww, is w∈L(R)w \in L(R)?
II. Given a context-free grammar GG, is L(G)=∅L(G) = \emptyset?
III. Given a context-free grammar GG, is L(G)=Σ∗L(G) = \Sigma^* for some alphabet Σ\Sigma?
IV. Given a Turing machine MM and a string ww, is w∈L(M)w \in L(M)?
Select one option