Computer Science - Language Processors
Exercise :: 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 |
Answer: Option B
Explanation:
|
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 pass of a standard two-pass assembler | D. |
All of the above |
Answer: Option D
Explanation:
|
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 |
Answer: Option B
Explanation:
|
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 |
Answer: Option C
Explanation:
|
10. |
In an absolute loading scheme, which loader function is accomplished by loader? |
A. |
Reallocation | B. |
Allocation | C. |
Linking | D. |
Loading |
Answer: Option D
Explanation:
|