edited by
2,960 views
1 1 vote

Consider the following Translation rules for the Grammar G :

What will be the output for input string abebebe for bottom up parser ?

  1. CBBPBPBP
  2. CBBBPPBB
  3. CBPBPBPB
  4. CBPBBPPB

1 Answer

1 1 vote
None ...no option are matching ...either question should mention ...top down parser
Position:
Show:

Related questions

6 6 votes
2 answers 2 answers
3.2k
3.2k views
vaishali jhalani asked Jan 7, 2017
3,196 views
$\begin{align*} &E\rightarrow E+E \qquad {\color{red}{\text{E.val} = \text{E}_1\text{.val} { \;\;\large + \;\; } \text{E}_2\text{.val}}} \\ &E\rightarrow E*E \; \qquad {\...
1 1 vote
4 answers 4 answers
2.4k
2.4k views
0 0 votes
1 answers 1 answer
824
824 views