Which of the following is correct?

(I). An attribute of a node (non-terminal) that depends on the value of attributes of children nodes in the parse tree is called inherited attribute.

(II). An attribute of a node (non-terminal) that depends on the value of attributes of siblings and parent node in the parse tree is called synthesized attribute.

1
Only (I) is correct
2
Only (II) is correct
3
Both are correct
4
None is correct

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation