Biology, asked by semial6735, 1 year ago

Write the difference between synthesized and inherited attributes

Answers

Answered by Areena13
1
-----------HELLO FRIEND----------------

HERE IS U ANSWER


The easiest way to think about them is the direction from where they originate. An inherited attribute derives its value from the parent nodes. A synthesized attribute derives its value from the child nodes. Alternatively,inherited attributes flow top-down, while synthesized attributes flow bottom-up.

HOPE IT WILL HELP U !!!!!!!!!!!!!!

Areena13: ok just a min
Areena13: for the first blank timd and second bold
Areena13: most welcome
Answered by komminarevanth
0

Answer:

synthesized Attributes: -

  1. value of synthesized attributes at a node can be computed from the value of attributes at the children of that node in the parse tree.
  2. Pass the information bottom to top in parse tree

inherited attributes

  1. values of the inherited attributes at a node can be computed from the value of attributes at the parent and/or siblings of the node.
  2. Pass the information top to bottom in parse tree

Similar questions