COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
If the attributes of the parent depend on the attributes of the children, then they are called as ____ attributes.
A
made
B
discovered
C
new
D
inherited
Explanation: 

Detailed explanation-1: -The genes of both parent’s influence what traits and characteristics the baby will have and these are called inherited traits.

Detailed explanation-2: -Parents pass on traits or characteristics, such as eye colour and blood type, to their children through their genes. Some health conditions and diseases can be passed on genetically too. Sometimes, one characteristic has many different forms. For example, blood type can be A, B, AB or O.

Detailed explanation-3: -Synthesized attribute: attribute of a node (non-terminal) that. depends on the value of attributes of children nodes in the parse. tree. Inherited attribute: attribute of a node (non-terminal) that. depends on the value of attributes of siblings and parent node in.

There is 1 question to complete.