6,503 views
26 votes
26 votes

Which one of the following statements is FALSE?

  1. There exist context-free languages such that all the context-free grammars generating them are ambiguous
  2. An unambiguous context-free grammar always has a unique parse tree for each string of the language generated by it

  3. Both deterministic and non-deterministic pushdown automata always accept the same set of languages

  4. A finite set of string from some alphabet is always a regular language

1 Answer

Best answer
37 votes
37 votes
  1. This is true for inherently ambiguous language
  2. Always correct, that's why called unambiguous
  3. NPDA is a super set of DPDA, hence it's FALSE
  4. Finite language is always regular
edited by
Answer:

Related questions

41 votes
41 votes
6 answers
1
Ishrat Jahan asked Nov 2, 2014
12,003 views
A process executes the following segment of code :for(i = 1; i <= n; i++) fork ();The number of new processes created is$n$$((n(n + 1))/2)$$2^n - 1$$3^n - 1$
23 votes
23 votes
4 answers
3
Ishrat Jahan asked Nov 2, 2014
4,932 views
Which one of the following binary trees has its inorder and preorder traversals as $BCAD$ and $ABCD$, respectively?