Which one of the following problems is undecidable?

GATE · 2014 · CS · Set 3 · Computer Science & IT

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 270 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…