• edited by
13,777 views
42 42 votes

Which of the following decision problems are undecidable?

  1. Given NFAs $N_1$ and $N_2$ , is $L(N_1) \cap L(N_2) = \Phi$
  2. Given a CFG $G = (N,\Sigma,P,S)$ and a string  $x \in \Sigma^{*}$, does  $x \in L(G)$} ?
  3. Given CFGs  $G_1$ and $G_2$, is $L (G_1) = L(G_2)$?
  4. Given a TM $M$, is $L(M)=\Phi$ ?
  1. I and IV only
  2. II and III only 
  3. III and IV only
  4. II and IV only

5 Answers

Best answer
80 80 votes
  1. is Decidable, we may use cross product of NFA (or by converting them into DFA) , if We didn't get final states of both together at any state in it. then $L(N_1)\cap L(N_2)= \phi$ , Disjoint languages.
  2. Membership in CFG is Decidable (CYK algorithm)
  3. Equivalence of Two context free grammars is Undecidable.
  4. For TM M , $L(M) = \phi $ is Undecidable.

Correct Answer: $C$

• edited by
13 13 votes

Option C will be right option 

Explanation::
Since equality problem is always undecidable in the case of CFL,CSL,RL and RE.

Similarly Emptiness proble is Undecidable in the case of TM,CSL,RL

• edited by
1 1 vote
C Is Correct

2nd is Basic Rule We Can not  Compare two CFG are Equal or Not

4th is we Not Say That
Answer:
Position:
Show:

Related questions

58 58 votes
7 answers 7 answers
20.6k
20.6k views
Sandeep Singh asked Feb 12, 2016
20,567 views
Let $X$ be a recursive language and $Y$ be a recursively enumerable but not recursive language. Let $W$ and $Z$ be two languages such that $\overline{Y}$ reduces to $W$,...
28 28 votes
5 answers 5 answers
11.9k
11.9k views
Sandeep Singh asked Feb 12, 2016
11,936 views
Consider that $B$ wants to send a message $m$ that is digitally signed to $A$. Let the pair of private and public keys for $A$ and $B$ be denoted by ${K_{x}}^-$ and ${K_{...
52 52 votes
4 answers 4 answers
23.5k
23.5k views
Sandeep Singh asked Feb 12, 2016
23,472 views
Consider a computer system with $40$-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each pag...
40 40 votes
4 answers 4 answers
17.9k
17.9k views
Sandeep Singh asked Feb 12, 2016
17,914 views
The worst case running times of Insertion sort , Merge sort and Quick sort, respectively are:$\Theta (n \log n)$, $\Theta (n \log n)$ and $\Theta(n^2)$$\Theta (n^2)$, $\T...