GATE CS 2025, set 2 · Question 25 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Let G₁, G₂ be Context Free Grammars (CFGs) and R be a regular expression. For a grammar G, let L(G) denote the language generated by G.
Which ONE among the following questions is decidable?

  1. (A) Is L(G₁) = L(G₂)?
  2. (B) Is L(G₁) ∩ L(G₂) = ∅?
  3. (C) Is L(G₁) = L(R)?
  4. (D) Is L(G₁) = ∅?
Answer

Answer (D)

Answer from the official GATE CS 2025 answer key.

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