Language Processors – Section 2

6. 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

Correct Answer:  B. consists of a program and relevant information for its relocation
Advertisement

7. In which way(s) can a macro processor for assembly language be implemented?

A. independent two-pass processor
B. independent one-pass processor
C. processor incorporated into the pass of a standard two-pass assembler
D. All of the above

Correct Answer:  D. All of the above
Advertisement

8. A system program that combines the separately compiled modules of a program into a form suitable for execution

A. assembler
B. linking loader
C. cross compiler
D. load and go

Correct Answer:  B. linking loader
Advertisement

9. A compiler is

A. a program that places programs into memory and prepares them for execution
B. a program that automate the translation of assembly language into machine language
C. program that accepts a program written in a high level language and produces an object program
D. is a program that appears to execute a source program as if it were machine language

Correct Answer:  C. program that accepts a program written in a high level language and produces an object program
Advertisement

10. In an absolute loading scheme, which loader function is accomplished by loader?

A. Reallocation
B. Allocation
C. Linking
D. Loading

Correct Answer:  D. Loading
Advertisement

Leave A Comment?