8.What is the similarity between LR,LALR, and
SLR?
a. Use same algorithm, but different parsing table
b. Same parsing table, but different algorithm
c. Their parsing tables and algorithm are similar but
using top down approach
d. Both parsing tables and algorithm are different.
11.Which of the following states in LR(1) automation indicates a
shift/reduce conflict?
a.[A->a.b, b] and [B->.b,b]
b.[A->a.bβ,$] and [B->β.,b]
c.[A->a.b,b] and [A->a.B, b]
d.[A->a.b,a] and [A->b.a,b]
8.What is the similarity between LR,LALR, and SLR? a. Use same algorithm, but different parsing table b. Same parsing ta
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am