Exercise: Language Processors

Questions for: Language Processors

A relocate program form is the one which
A:
cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
B:
consists of a program and relevant information for its relocation
C:
can itself perform the relocation of its address-sensitive portions
D:
All of the above
Answer: B
No answer description is available. Let's discuss.
The task(s) of the Lexial analysis phase is/are:
A:
to parse the source program into the basic elements or tokens of the language
B:
to build a literal table and an identifier table
C:
to build a uniform symbol table
D:
All of the above
Answer: D
No answer description is available. Let's discuss.
The action of parsing the source program into the proper syntactic classes is known as
A:
syntax analysis
B:
lexical analysis
C:
interpretation analysis
D:
general syntax analysis
Answer: B
No answer description is available. Let's discuss.
Advantage(s) of using assembly language rather than machine language is/are:
A:
It is mnemonic and easy to read
B:
Addresses any symbolic, not absolute
C:
Introduction of data to program is easier
D:
All of the above
Answer: D
No answer description is available. Let's discuss.
The table created by lexical analysis to describe all literals used in the source program, is:
A:
Terminal table
B:
Literal table
C:
Identifier table
D:
Reductions
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz