A compiler does
Reads source program
Converts high level program to machine level program
Gives error messages if any
All of the above
Interpreter is
Slower than compiler
faster than compiler
Generates a target code
None of the above
Boot strapping means_______
A language compiling other languages program
A language interpreting other language programs
A language compile itself
All of the above
_________is/are boot strapped compiler
C
LISP
PASCAL
All of the above
__________ is not a phase of compiler
Syntax analysis
Codes generation
Lexical analysis
Error correction
A compiler has ________ phases
6
7
8
None of the above
Functions of a lexical analyzer are?
Removing white spaces
Removing comments
Recognize constants, identifiers and key words
All of the above
Lexical analyzer generates?
Code
trees
tokens
Intermediate code
Out put file of lex is______ if input is Myfile.c?
Myfile.c
Myfile.lex
Myfile.yy.c
Myfile.obj
A lex program consists of
Declarations
Translation rules
Auxiliary procedures
All of the above