GATE CS 2024 Set 1 | Question 23

Theory of Computation › Regular Grammar · MSQ · 1 mark · Answer: C, D

  1. Question 23Theory of Computationmsq1 mark
    Let be regular and not regular. Which statements are always TRUE?
    • A.
      iff
    • B.
      is not regular
    • C.
      is not regular
      ✓
    • D.
      is regular
      ✓

    Answer: C, D

    Solution

    Answer: (C) and (D) - (C) If were regular, then would be regular (regular languages are closed under complement) — contradiction. So is not regular. TRUE. - (D) Regular languages are closed under complement and union, so is regular. TRUE. - (A) FALSE: iff , i.e. ; one half being empty is not enough. - (B) FALSE: e.g. non-regular but gives , regular.

More GATE PYQ on Regular Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

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

Create free account →