ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024

ISRO CS-2023

Question 34
Consider the context-free grammar G below. Here S is the starting non-terminal symbol, while a and b are terminal symbols.
S-> aSb|T
T ->bT|b
The language generated by G is:
A
{am,bn:0<=m<n}
B
{am,bn:0<m<n} </m
C
{am,bn:0<n<=m} </n
D
{an,bn:0<=n}
Correct Answer: A

Leave a Reply

Your email address will not be published. Required fields are marked *