GATE CS 2020 · Question 34 · Compiler Design · Numerical answer (NAT) · 1 mark · no negative marks
Consider the following grammar.
S → aSB | dB → b
The number of reduction steps taken by a bottom-up parser while accepting the string aaadbbb is ______.
Answer
Answer 7
Answer from the official GATE CS 2020 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes