GATE CS 2025 Set 2 | Question 25

Theory of Computation › Undecidability · MCQ · 1 mark · Answer: D

  1. Question 25Theory of Computationmcq1 mark
    Let be Context-Free Grammars and a regular expression. Which ONE among the following questions is decidable?
    • A.
      Is ?
    • B.
      Is ?
    • C.
      Is ?
    • D.
      Is ?
      ✓

    Answer: D

    Solution

    Answer: (D) Is ? Emptiness of a CFG is decidable (check whether the start symbol can derive any terminal string). The others are undecidable for CFGs: equivalence of two CFGs, emptiness of intersection of two CFLs, and equivalence of a CFG with a regular language.

More GATE PYQ on Undecidability

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2025 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →