+1 vote
232 views
For synthesized attribute, value is only computed when symbol is on the _____ side of production. For inherited attribute, value is computed in productions where symbol is on the _____ side.

1. Left, Right   2. Right, Right    3. Right, Left    4. Left, Left
closed with the note: duplicate

closed | 232 views
0
1. Left, Right ???
0
3. Right, Left ??
0

https://gateoverflow.in/81245/testbook

Answer is Left and Right .

0

For synthesized attribute, value is only computed when symbol is on the _____ side of production.

What does symbol mean in this question? Does symbol mean here that for which we are calculating the value (attribute on LHS) or which helps in calculating the value (attributes on the RHS)?

0
i think so
0
symbol here means grammar symbol, i.e. terminal and non-terminal
0
obviously, the symbol is either terminal or variable but I am asking it is present on LHS part or RHS part?
0