1.

Which of the following are undecidable problems?(a) Determining whether two grammars generate the same language(b) Determining whether a grammar is ambiguous(c) Both (a) and (b)(d) None of the mentionedThis question was posed to me in class test.The question is from The Diagonalization Languages topic in portion Undecidability of Automata Theory

Answer»

Correct choice is (C) Both (a) and (B)

To explain: In contrast we can put up an algorithm for checking whether two FA’s are equivalent and this PROGRAM can be IMPLEMENTED asa program.



Discussion

No Comment Found

Related InterviewSolutions