State true or false: Statement: R->R|T T->ε is an ambiguous grammar

Answer: A
Explanation: The production can be either itself or an empty string. Thus the empty string has more than one leftmost derivations, depending on how many times R->R is being used.
 

Tìm kiếm

Back
Top