GATE CS 2014, set 3 · Question 45 · Theory of Computation · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

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.
Answer

Answer (A)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes