Q.

which of the following grammer is LR(1)

A. A->aAa A->bAb A->a A->b
B. A->aAa A->aAb A->c
C. A->A+A A->a
D. both a and b
Answer» B. A->aAa A->aAb A->c
1.2k
0
Do you find this helpful?
1

View all MCQs in

System Software

Discussion

No comments yet