Lexical Analysis


Q11.

In a two-pass assembler, resolution of subroutine calls and inclusion of labels in the symbol table is done during
GateOverflow

Q12.

In a compiler, keywords of a language are recognized during
GateOverflow

Q13.

Which data structure in a compiler is used for managing information about variables and their attributes?
GateOverflow

Q14.

The number of tokens in the following C statement is printf("i=%d, &i=%x", i, &i);
GateOverflow

Q15.

The number of tokens in the FORTRAN statement DO 10 I = 1.25 is
GateOverflow

Q16.

In a compiler the module that checks every character of the source text is called:
GateOverflow

Q17.

In a compiler the module that checks every character of the source text is called:
GateOverflow

Q18.

A simple two-pass assembler does the following in the first pass:
GateOverflow

Q19.

The pass numbers for each of the following activities i. object code generation ii. literals added to literal table iii. listing printed iv. address resolution of local symbols that occur in a two pass assembler respectively are
GateOverflow