Font size
WorksheetsCompiler Design Lecture 1
Total questions: 10
Worksheet time: 6mins
A compiler is faster than interpreter
True
False
None of these
Choose the components of a language processing system.(Select all the correct answers)
Compiler
Linker
Loader
Operating System
Information about source program is stored in
operating system
symbol table
interpreter
database
Code Optimization is done before intermediate code generation phase
True
False
Choose the correct answer
The analysis part constructs the target program
The synthesis part constructs the target program
The synthesis part constructs the assembly code
None of these
A parse tree is generated as the output of
Lexical Analysis
Semantic Analysis
Syntax Analysis
Code Generation
An identifier is a
keyword
operator
lexeme
token
An entry to the symbol table is made in the lexical analysis phase itself.
True
False
Which component of a language preprocessor solves external memory addresses?
Loader
Interpreter
Linker
Assembler
Choose the correct option from the given answers.
A compiler translates machine language to high level language
A Compiler translates assembly language to machine language
A compiler translates machine language to assembly language
None of these
