1.

Consider the following grammar:S→aSB|dB→bThe number of reduction steps taken by a bottom-up parser while accepting the string aaadbbb is 7

Answer» Consider the following grammar:

SaSB|d

Bb



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


Discussion

No Comment Found

Related InterviewSolutions