MCQ Mojo
access_time
menu
Quiz
Web Stories
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
CBSE
arrow_drop_down
MCQ Questions for CBSE Class 12 with Answers
MCQ Questions for CBSE Class 11 with Answers
MCQ Questions for CBSE Class 10 with Answers
MCQ Questions for CBSE Class 9 with Answers
MCQ Questions for CBSE Class 8 with Answers
MCQ Questions for CBSE Class 7 with Answers
MCQ Questions for CBSE Class 6 with Answers
MCQ Questions for CBSE Class 5 with Answers
MCQ Questions for CBSE Class 4 with Answers
MCQ Questions for CBSE Class 3 with Answers
MCQ Questions for CBSE Class 2 with Answers
MCQ Questions for CBSE Class 1 with Answers
Quiz
Quiz
/
Compiler Design Multiple Choice Questions MCQ Quiz Questions and answers
1.
What is the output of lexical analyzer?
A parse tree
A list of tokens
Intermediate code
Machine code
2.
________ is considered as a sequence of characters in a token.
Texeme
Pattern
Lexeme
Mexeme
3.
What is the name of the process that determining whether a string of tokens can be generated by a grammar?
Analysing
Recognizing
Translating
Parsing
4.
A _________ is a software utility that translates code written in higher language into a low level language.
Converter
Compiler
Text editor
Code optimizer
5.
Compiler can check ________ error.
Logical
Syntax
Content
Both A and B
6.
A grammar that produces more than one parse tree for some sentence is called as
Ambiguous
Unambiguous
Regular
All of these
7.
Lexical analysis is about breaking a sequence of characters into
Groups
Packets
Lines
Tokens
8.
_______ is the most general phase structured grammar.
Context sensitive
Regular
Context free
All of these
9.
How many parts of compiler are there?
1
2
4
8
10.
Grammar of the programming is checked at _______ phase of compiler.
Semantic analysis
Syntax analysis
Code optimization
Code generation
11.
_________ is a process of finding a parse tree for a string of tokens.
Parsing
Analysing
Recognizing
Tokenizing
12.
What is the action of parsing the source program into proper syntactic classes?
Lexical analysis
Syntax analysis
General syntax analysis
Interpretation analysis
13.
Compiler translates the source code to
Executable code
Machine code
Binary code
Both B and C
14.
Which of the following groups is/are token together into semantic structures?
Syntax analyzer
Intermediate code generation
Lexical analyzer
Semantic analyzer
15.
Compiler should report the presence of __________ in the source program, in translation process.
Classes
Objects
Errors
Text
Report Question
Previous
Next
warning
Submit
access_time
Time
Report Question
A bunch of text
Support mcqmojo.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page