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. Which one of the following is True at any valid state in shift-reduce parsing?
a. Viable prefixes appear only at the bottom of the stack and not inside
b. Viable prefixes appear only at the top of the stack and not inside
c. The stack contains only a set of viable prefixes
d. The stack never contains viable prefixes
Answer:The stack contains only a set of viable prefixes
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: