adplus-dvertising
frame-decoration

Question

Function of the syntax phase is to

a.

build a uniform symbol table.

b.

build a literal table and an identifier table.

c.

parse the source program into the basic elements or tokens of the language.

d.

recognize the major constructs of the language and to cal the appropriate action routines that wil generate the intermediate form or matrix for these constructs

Posted under Systems Programming

Answer: (d).recognize the major constructs of the language and to cal the appropriate action routines that wil generate the intermediate form or matrix for these constructs

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Function of the syntax phase is to

Similar Questions

Discover Related MCQs

Q. Substitution of values for names whose values are constant, is done in

Q. Reduction in strength means

Q. To recover from an error, the operator precedence parser may

Q. The best way to compare the different implementations of symbol table is to compare the time required to

Q. An intermediate code form is

Q. The identification of common sub-expression and replacement of run-time computations by compile-time computations is

Q. Let ( Z,* ) be an algebraic structure, where Z is set of integers and the operation * is defined by n * m =maximum ( n , m ) Which of the following statements is true for ( Z, * ) ?

Q. The most powerful parser is

Q. LR parsers are attractive because

Q. In operator precedence parsing, precedence relations are defined

Q. Uniform symbol table

Q. Which of the following is a phase of a compilation process ?

Q. Terminal table -

Q. Forward reference table(FRT) is arranged like -

Q. Pass 2

Q. pass 1

Q. A Language L is defined by L={xn yn |n>1} . Which of the following definitions generates the same
language as L

Q. which of the following cannot be used an an intermediate code form ?

Q. A shift reduce parser carries out the actions specified within braces immediately after reducing,with
the corresponding rule of the grammar

s->xxW{print “1”}
s->y{print “2”}
w->sz{print “3”}

what is the translation of “xxxxyzz” ?

Q. Access time of the symbol table will be logarithmic,if it is implemented by