GATEverse Practice, past papers & mock tests
GATE 2024 · CS2 - Afternoon
Theory of ComputationPush Down Automata: CFL & DCFLhardMSQ2 marks

Consider a context-free grammar G with the following 3 rules.

GRAMMAR RULES
SaS,
SaSbS,
Sc Let w be in L(G). Let na(w), nb(w), nc(w) denote the number of times a, b, c occur in w, respectively.

Which of the following statements is/are TRUE?

Select every correct option.

Save your progress

Related Theory of Computation PYQs