MCQ · 2 marks · Context Free Languages

GATE CS 2023 CS — Q39

Consider the context-free grammar GG below
<br>S→aSb∣X<br>X→aX∣Xb∣a∣b<br>\begin{align*}<br>S & \to aSb \mid X \\<br>X & \to aX \mid Xb \mid a \mid b<br>\end{align*}
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?
Select one option