Compilers Lexical Analyser 2 Online Exam Quiz
Compilers Lexical Analyser 2 GK Quiz. Question and Answers related to Compilers Lexical Analyser 2. MCQ (Multiple Choice Questions with answers about Compilers Lexical Analyser 2
Which one is a lexer Generator?
Options
A : ANTLR
B : DRASTAR
C : FLEX
D : All of the mentioned
When expression sum=3+2 is tokenized then what is the token category of 3?
Options
A : Identifier
B : Assignment operator
C : Integer Literal
D : Addition Operator
Which of the lexical analyser can handle Unicode?
Options
A : Java CC
B : JFLex
C : Quex
D : All of the mentioned
The process of forming tokens from an input stream of characters is called __________
Options
A : Liberalisation
B : Characterisation
C : Tokenization
D : None of the mentioned
What is the output of a lexical analyzer?
Options
A : Machine Code
B : Intermediate Code
C : Stream of Token
D : Parse Tree
Which grammar defines Lexical Syntax?
Options
A : Regular Grammar
B : Syntactic Grammar
C : Context free Grammar
D : Lexical Grammar
It has encoded within it information on the possible sequences of characters that can be contained within any of the tokens it handles. The mentioned function is performed by?
Options
A : Scanner
B : Parser
C : Syntactic Analyser
D : All of the mentioned
What goes over the characters of the lexeme to produce value?
Options
A : Scanner
B : Parser
C : Evaluator
D : Lexical generator
Lexers are often generated by a lexer generator, same as parser generators.
Options
A : True
B : False
C :
D :
Two Important lexical categories are __________
Options
A : White Space
B : Comments
C : None of the mentioned
D : White Space & Comments
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Compilers Interview Experienced
Compilers L Attributed Definition 1