GATEverse
← GATE CSE 2023

Q29

MCQ2 marks, −0.67

Consider the context-free grammar GG below

S→aSb∣XX→aX∣Xb∣a∣b,\begin{array}{l} S \rightarrow a S b \mid X \\ X \rightarrow a X \mid X b \mid a \mid b, \end{array}

where SS and XX are non-terminals, and aa and bb are terminal symbols. The starting non-terminal is SS. Which one of the following statements is CORRECT?\text{CORRECT}?

Sign in to save attempts.

Loading…