adplus-dvertising
frame-decoration

Question

__________ a part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories.

a.

Parser

b.

Optimizer

c.

Scanner

d.

None of the mentioned

Posted under Systems Programming

Answer: (c).Scanner

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. __________ a part of a compiler that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories.

Similar Questions

Discover Related MCQs

Q. _________an IR-to-IR transformer that tries to improve the IR program in some way.

Q. _________a phase of a compiler that maps the IR program into the instruction set and the finite resources of the target machine.

Q. In a compiler the module that checks every character of the source text is called

Q. The context free grammar is ambiguous if

Q. Another Name for Lexical Analyser

Q. An individual token is called ________.

Q. Which phase of the compiler is Lexical Analyser?

Q. Input to Lexical Analyser is

Q. Lexical Analysis Identifies Different Lexical Units in a _______.

Q. Which one is a type of Lexeme ?

Q. A________ is a string of characters which form a syntactic unit.

Q. When expression sum=3+2 is tokenized then what is the token category of 3 ?

Q. Two Important lexical categories are

Q. It has encoded within it information on the possible sequences of characters that can be contained within any of the tokens it handles.
Above motioned function is performed by?

Q. What goes over the characters of the lexeme to produce a value?

Q. Which one is a lexer Generator ?

Q. Which of the lexical analyser can handle Unicode ?

Q. The output of a lexical analyzer is

Q. Which phase of compiler is Syntax Analysis ?

Q. Syntax Analyser also known as