GATE CS 2026 Set 1 | Question 51
Theory of Computation › Regular Grammar · MSQ · 2 marks · Answer: C
- Question 51Theory of Computationmsq2 marksLet and be two languages over a finite alphabet, such that and are regular languages. Which of the following statements is/are always true?
- A.is regular
- B.is regular
- C.is context-free✓
- D.is context-free
Answer: C
Solution
Answer: C Take . Then is regular for any , even an undecidable one. • (A) and (D) fail for such an . • (B) , which also fails. • (C) is always true: every regular language is context-free. - A.
More GATE PYQ on Regular Grammar
All GATE CS Theory of Computation PYQ →Attempt GATE CS 2026 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →