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

Consider the following grammar:
SS×E
SE
EF+E
EF
Fid

Consider the following LR(0) items corresponding to the grammar above.
(i) SS×.E
(ii) EF.+E
(iii) EF+.E

Given the items above, which two of them will appear in the same set in the canonical sets-of-items for the grammar?

A
None of these
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
(ii) and (iii)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
(i) and (iii)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
(i) and (ii)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A None of these


Given SS×E, EF+E and EF+E. Any of these two items not present in the same state of above DFA.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Properties of Operators: Commutative Associative and Distributive
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon