search
Log In
1 vote
538 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
in Compiler Design
closed by
538 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?

Related questions

0 votes
0 answers
1
125 views
What is the SDT to eliminate redundant parenthesis from infix expressions with * and +? what is the concept behind removal of redundant parenthesis and how to start?
asked Mar 29, 2019 in Compiler Design aditi19 125 views
0 votes
0 answers
2
0 votes
3 answers
3
356 views
Is it Possible that any SDT can be L-attributed and S-attributed both in the same question?
asked Mar 28, 2018 in Compiler Design dixit bishwash 356 views
...