DSSSB PGT 2021
October 6, 2023
GATE 1999
October 6, 2023
DSSSB PGT 2021
October 6, 2023
GATE 1999
October 6, 2023

GATE 1999

Question 42

A grammar that is both left and right recursive for a non-terminal, is

A
Ambiguous
B
Unambiguous
C
Information is not sufficient to decide whether it is ambiguous or unambiguous
D
None of the above
Question 42 Explanation: 
If a grammar is both left and right recursion, then grammar may or may not be ambiguous.
Correct Answer: C
Question 42 Explanation: 
If a grammar is both left and right recursion, then grammar may or may not be ambiguous.

Leave a Reply

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