adplus-dvertising
frame-decoration

Question

Which of the following is incorrect for the actions of A LR-Parser ?
I) shift s
ii) reduce A->ß
iii) Accept
iv) reject?

a.

Only I)

b.

I) and ii)

c.

I), ii) and iii)

d.

I), ii) , iii) and iv)

Posted under Compiler Design

Answer: (c).I), ii) and iii)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is incorrect for the actions of A LR-Parser ? I) shift s ii) reduce A->ß iii) Accept iv) reject?