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

View Answer

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

View Answer

Which of the lexical analyser can handle Unicode?

Options

A : Java CC

B : JFLex

C : Quex

D : All of the mentioned

View Answer

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

View Answer

What is the output of a lexical analyzer?

Options

A : Machine Code

B : Intermediate Code

C : Stream of Token

D : Parse Tree

View Answer

Which grammar defines Lexical Syntax?

Options

A : Regular Grammar

B : Syntactic Grammar

C : Context free Grammar

D : Lexical Grammar

View Answer

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

View Answer

What goes over the characters of the lexeme to produce value?

Options

A : Scanner

B : Parser

C : Evaluator

D : Lexical generator

View Answer

Lexers are often generated by a lexer generator, same as parser generators.

Options

A : True

B : False

C :

D :

View Answer

Two Important lexical categories are __________

Options

A : White Space

B : Comments

C : None of the mentioned

D : White Space & Comments

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Compilers Interview Experienced

Compilers Interview Freshers

Compilers L Attributed Definition 1

Compilers L Attributed Definition 2

Compilers Lexical Analyser 1

Compilers Lexical Analysis 1

Compilers Lexical Analysis 2

Compilers L R Parser 1

Compilers L R Parser 2

Compilers Mcqs