GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · NAT · 1 mark · Compiler Design › Syntax Analysis (Parsing)

GATE 2020 Computer Science and Information Technology question: Consider the following grammar. S aSB d B b The number of reduction steps taken by a…

Consider the following grammar.

The number of reduction steps taken by a bottom-up parser while accepting the string is _______.

Show answer

Official answer: 7

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion