Page 1 of 1

8.What is the similarity between LR,LALR, and SLR? a. Use same algorithm, but different parsing table b. Same parsing ta

Posted: Sat Nov 27, 2021 2:40 pm
by answerhappygod
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]