retagged by
262 views

1 Answer

Best answer
1 votes
1 votes
both a and c are correct.

Option C says that in SDD if they all are synthesis attributes means attributes of current levels are synthesized by using attribute values of child level. So you can always have an order of evaluation as LEFT TO RIGHT, BOTTOM TO TOP.

In general, you can calculate/evaluate attribute values by calling the POST-ORDER type of function.
edited by
Answer:

Related questions

5 votes
5 votes
1 answer
1
srestha asked Dec 28, 2017
3,312 views
Match the following1) L attributed definition 1)Top down parsing2) S attributed definition 2) Bottom up parsing ...
0 votes
0 votes
1 answer
2
srestha asked Dec 26, 2017
1,403 views
Which of the following is true?(A) Every L attributed definition is S attributed(B) Every S attributed definition is L attributed
1 votes
1 votes
1 answer
3
iita asked Dec 20, 2016
3,870 views
0 votes
0 votes
1 answer
4
vaishali jhalani asked Nov 21, 2016
781 views
Is this statement correct...Attribute evaluation in S-attribute grammars can be incorporated conveniently in both top-down parsing and bottom-up parsing since S-attribute...