adplus-dvertising
frame-decoration

Question

Functions of Lexical analyzer are  ?

a.

Removing white space

b.

Removing constants, identifiers and keywords

c.

Removing comments

d.

All of above

Posted under Systems Programming

Answer: (d).All of above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Functions of Lexical analyzer are  ?

Similar Questions

Discover Related MCQs

Q. Yacc resolves conflicts by of type ?

Q. A parser which is a variant of top-down parsing without backtracking is

Q. Which of these is not a part of Synthesis phase

Q. The following features are needed to implement top down parsing

Q. An analysis, which determines the syntactic structure of the source statement, is called

Q. Recognition of basic syntactic constructs through reductions, this task is performed by

Q. Which of the following derivation a top-down parser use while parsing an input string? The input is assumed to be scanned in left to right order ?

Q. The error that can be pointed out by the compiler are

Q. The task of the logical analysis phase is

Q. The output of lexical analyzer is

Q. Pick the machine independent pahse of the compiler

Q. The bottom up parser generates

Q. The top down parser generates

Q. Type checking is normally done during

Q. The action of parsing the source program into proper syntactic classes is called

Q. A top down parser generates

Q. Shift reduce parsers are

Q. Input to code generator is

Q. Local and loop optimization in turn provide motivation for

Q. _________or scanning is the process where the stream of characters making up the source program is read from left to right and grouped into tokens.