Learn and practice Aptitude questions and answers with explanation for interview, competitive exam (Pariksha Corner )

Thursday, January 23, 2020

In a syntax directed translation scheme, the value of an

In a syntax directed translation scheme, the value of an attribute of a node is a function of the attributes of its children. Such an attribute is called a / an
Asynthesised attribute
Bcanonical attribute
Cinherited attribute
Dfunctional attribute

Answer: synthesised attribute

Explanation:

A synthesized attribute for a nonterminal A at a parse-tree node N is defined by a semantic rule associated with the production at N. Note that the production must have A as its head.
A synthesized attribute at node N is defined only in terms of attribute values at
the children of N and at N itself.

Akilesh Kharvi
answered Dec 8 '2016 at 20:7

All Comments

Post your answers here:

Post

Post your comments here:

Post

Categories