edited by
825 views
1 votes
1 votes
Which of the Following is True ?

A. Symbol table Construction is during the analysis part of the Compiler.

B. Type checking is Done during Syntax Analysis phase

C. SDD with only synthesized attribute have an order of evaluation

D. Both A and C

Please Explain the C part only rest are easy :)
edited by

1 Answer

1 votes
1 votes
SDD means Syntax Directed Definition.

It is representation of tree which doesn't carry the information of variables/attributes. It called as abstract tree representation.

They are mentioning about the synthesized attribute(Parent takes the values from its children) which have the order of evaluation is BUP.

But C option is False because Inherited attribute also have the order of evaluation is TDP.

A. False

C. False.

Related questions

1 votes
1 votes
2 answers
1
Prince Sindhiya asked Dec 27, 2018
1,593 views
The two basic operations that are often performed with the symbol table are:1.Set and reset 2.Set and insert 3. Insert and lookup 4.Reset and lookup