Which concept of grammar is used in the compiler
Object program is a
Answer: Translation of high-level language into machine language
The symbol table implementation is based on the property of locality of reference is
What goes over the characters of the lexeme to produce a value?
Two Important lexical categories are
Answer: White Space & Comments
Which grammar defines Lexical Syntax
When expression sum=3+2 is tokenized then what is the token category of 3
It has encoded within it information on the possible sequences of characters that can be contained within any of the tokens it handles .Above motioned function is performed by?
A programmer, by mistake, writes an instruction to divide, instead of a multiply, such error can be detected by a/an
A system program that set-up an executable program in main memory ready for execution is
A compiler is a program that
Answer: accepts a program written in a high level language and produces an object program.
The process of forming tokens from an input stream of characters is called_____
In an aboslute loading scheme, which loader function is accomplished by programmer?
Advantage of using assembly language rather than machine language is that
Language which have many types, but the type of every name and expression must be calculated at compile time are
Answer: strongly-type languages
Advantage of incorporating the macro-processor into pass 1 is that
Which of the following is a phase of a compilation process ?
A simple two-pass assembler does which of the following in the first pass ?
Compiler can diagnose
Answer: grammatical errors only
Assembler is a program that
Answer: automates the translation of assembly language into machine language