Professional Documents
Culture Documents
Q.4) Deterministic Context Free Language is decidable for ???? and ????.
Q.7) Let L = {0n 1n | n 0} be a context free language. Which of the following is correct?
(A) L0 is context free and Lk is not context free for any k 1
(B) L0 is not context free and Lk is context free for any k 1
(C) Both L0 and Lk is for any k 1 are context free.
(D) Both L0 and Lk is for any k 1 are not context free.
Q.8) Let L(R) be the language represented by regular expression R. Let L(G) be the language gen-
erated 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?
a) Given a regular expression R and a string w, is w L(R)?
b) Given a context-free grammar G, is L(G) = ?
c) Given a context-free grammar G, is L(G) = for some alphabet ?
d) Given a Turing machine M and a string w, is w L(M )?
1
2
3
4