GATE CS 2022 | Question 48

Theory of Computation › Context Free Grammar · MSQ · 2 marks · Answer: B, C, D

  1. Question 48Theory of Computationmsq2 marks
    , , . Which statements are FALSE?
    • A.
      L1 is not context-free but L2 and L3 are deterministic context-free.
    • B.
      Neither L1 nor L2 is context-free.
      ✓
    • C.
      L2, L3 and L2 ∩ L3 all are context-free.
      ✓
    • D.
      Neither L1 nor its complement is context-free.
      ✓

    Answer: B, C, D

    Solution

    Answer: (B), (C) and (D) is not context-free; are deterministic context-free (single matching). is NOT context-free. - (A) True (as stated). - (B) FALSE: IS context-free. - (C) FALSE: is not context-free. - (D) FALSE: the complement of IS context-free (a known result). So (B), (C), (D) are the false statements.

More GATE PYQ on Context Free Grammar

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2022 in real GATE exam mode

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

Create free account →