Which one of the following problems is undecidable?

PYQ GATE 2014

Which one of the following problems is undecidable?

  1. A.

    Deciding if a given context-free grammar is ambiguous.

  2. B.

    Deciding if a given string is generated by a given context-free grammar.

  3. C.

    Deciding if the language generated by a given context-free grammar is empty.

  4. D.

    Deciding if the language generated by a given context-free grammar is finite.

Attempted by 357 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…