CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A canonical set of items is given below:
SL >R
QR
On input symbol > the set has

A
a reduce-reduce conflict but not a shift-reduce conflict.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
a shift-reduce conflict and a reduce-reduce conflict.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
neither a shift-reduce nor a reduce-reduce conflict.
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
a shift-reduce conflict but not a reduce-reduce conflict.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C neither a shift-reduce nor a reduce-reduce conflict.
SL >R
QR


In above diagram, we see at I2 state it has only one reduced item and there is no other item in the state. Therefore for input symbol '>', there is no conflict.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Types of Relations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon