704 views
1 votes
1 votes

Que 3) Consider the following statements:

$S_1$: Handle is a sub-string that matches right side of production whose reduction to non-termnial on left sides of production represents one step along the reverse of left-most derivation.

$S_2$

: Viable prefixes of grammar G are those prefixes of right sentential form that appears on stack of shift reduce parsing.

Which of the following is true?

  1. Only $S_1$
  2. Only $S_2$
  3. Both $S_1$ and $S_2$

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
3
Ebrahim asked Jan 12
171 views
Q1. For the following grammar N - AB | BA A - a | CAC B - b | CBC C - a | b Find the FIRST and FOLLOW
0 votes
0 votes
0 answers
4
Ebrahim asked Jan 11
106 views
Find the FIRST and FOLLOW of the grammar to check whether it is LL (1) parser or not. N → AB | BA A → a | CAC B → b | CBC C → a | b