-
Which of the following decision problems are undecidable?
I. Given NFAs N1 and N2, is L(N1) ∩ L(N2) = Φ ?
II. Given a CFG G = (N, ∑ , P, S) and a string x ∈ ∑*, does x ∈ L(G) ?
III. Given CFGs G1 and G2 is L(G1) = L(G2)?
IV. Given a TM M, is L(M) = Φ ?
-
- I and IV only
- II and III only
- III and IV only
- II and IV only
- I and IV only
Correct Option: C
There is no known algorithm to verify whether the language accepted by TM is empty or not. Similarly there is no algorithm to verify whether language of CFG’s are equivalent.