adplus-dvertising
frame-decoration

Question

Which of the following is used for grouping of characteristics into tokens ?

a.

parser

b.

code optimization

c.

code generator

d.

lexical analyser

Answer: (d).lexical analyser

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is used for grouping of characteristics into tokens ?

Similar Questions

Discover Related MCQs

Q. which of the following grammer is LR(1) ?

a)A->aAa
A->bAb
A->a
A->b

b)A->aAa
A->aAb
A->c

c)A->A+A
A->a

d)both a and b

Q. Which of the following parser is the most powerful ?

Q. The optimization which avoids test at every iteration is

Q. A parser with valid prefix property is advantageous because it

Q. Back-patching is useful for handling

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

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. which of the following cannot be used an an intermediate code form ?

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

Q. pass 1

Q. Pass 2

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

Q. Terminal table -

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

Q. Uniform symbol table

Q. In operator precedence parsing, precedence relations are defined

Q. LR parsers are attractive because

Q. The most powerful parser 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 identification of common sub-expression and replacement of run-time computations by compile-time computations is