A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. A shift reduce parser carries out the actions specified within braces immediately after reducing,with
the corresponding rule of the grammar

s->xxW{print “1”}
s->y{print “2”}
w->sz{print “3”}

what is the translation of “xxxxyzz” ?
a. 11231
b. 11233
c. 23131
d. 233321
prabhu :(June 03, 2019) Can any one explain me?
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here