edited by
949 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.8k
views
2 answers
1 votes
Prince Sindhiya asked Dec 27, 2018
1,762 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
1.8k
views
4 answers
2 votes
rahul sharma 5 asked Jan 24, 2018
1,832 views
Match the following with respect to activation record fields:A 1 → A, D; 2 → B, CB 1 → A, C; 2 → B, DC 1 → B, C; 2 → A, DD 1 → B, D; 2 → A, CDoubt:- Control link points to caller activation record.Can some one confirm?
3.2k
views
4 answers
2 votes
rahul sharma 5 asked Jan 24, 2018
3,163 views
Consider the following statements:S1 : Static allocation can not support recursive function.S2 : Stack allocation can support pointers but can not deallocate storage at run-time.S3 : ... ?a S1 and S2b S2 and S3c S3 and S1d S1, S2 and S3
268
views
0 answers
0 votes
makhdoom ghaya asked Aug 18, 2022
268 views
Please list out the best free available video playlist for Runtime Environments from Compiler design as an answer here (only one playlist per answer). We'll then ... be selected as best.For the full list of selected videos please see here