R4RIN
Articles
Java 8
MCQS
System programming MCQ Quiz Hub
SYSTEMS PROGRAMMING /LOADERS MCQ
Choose a topic to test your knowledge and improve your System programming skills
1. The linker ?
is same as the loader
is required to create a load module
is always used before programs are executed
None of above
2. A system program that combines the separately compiled modules of a program into a form suitable for execution ?
Assembler
Linking loader
Cross compiler
Load and Go
3. Loading process can be divided into two separate programs, to solve some problems. The first is binder the other is ?
Linkage editor
Module Loader
Relocator
None of these
4. Load address for the first word of the program is called
Linker address origin
Load address origin
Phase library
Absolute library
5. A linker program
places the program in the memory for the purpose of execution.
relocates the program to execute from the specific memory area allocated to it.
links the program with other programs needed for its execution.
interfaces the program with the entities generating its input data.
6. Consider a program with a linked origin of 5000. Let the memory area allocated to it have the start address of 70000. Which among the following will be the value to be loaded in relocation register?
20000
50000
70000
None of the above
7. Resolution of externally defined symbols is performed by
Linker
Loader
Compiler
Editor
8. Relocatable programs
cannot be used with fixed partitions
can be loaded almost anywhere in memory
do not need a linker
can be loaded only at one specific location
9. Memory allocation involves which of the following task(s)
determine amount of memory required
use an appropriate memory allocation model
determine appropriate memory mapping
All of the above
10. Static memory allocation is typically performed during _____________.
compilation
execution
loading
linking
11. Dynamic memory allocation is typically performed during _______________.
loading of the program
compilation of the program
execution of the program
None of the above
12. Dynamic memory allocation is implementing using ________________.
queue and stacks
trees
stack and heaps
graphs
13. ________________ are used for reduce the main memory requirements of program.
Heaps
Overlays
Graphs
None of the above
14. ______________is used for reducing relocation requirements.
Relocation register
Track register
Binding register
Segment Register
15. Linking is process of binding
Internal part of a program
external functional call
External reference to the correct link time address
None of the above
16. If load origin is not equal to linked origin then relocation is performed by
Loader
Linker
By program itself
Relocation not performed
17. If linked origin is not equal to translated address then relocation is performed by___________
Absolute Loader
Loader
Linker
None of the above
18. Which is not a funciton of a loader
allocation
translation
relocation
loading
19. Binder performs the functions of
allocation
relocation
linking
all of these
20. A system program that set up an executable program in main memory ready for execution is
assembler
linker
loader
text-editor
21. A system program that sets up an executable program in main memory ready for execution
assembler
linker
loader
laod and go
22. In an absolute loading scheme which loader function is accomplished by loader
reallocation
allocation
linking
loading
23. Disadvantage of compile and go loading scheme is that
a position of memory is wasted because the case occupied by the assembler is unavailable the object program
it is necessary to retranslate the users program check every time it is run
it is very difficult to handle multiple segments especially if the source programs are in different language and to produce overlay modular programs
All of the above
24. The non-relocateable program is one which
can not be made to execute in any area to storage other than the one designated for it at the time of its coding or translation
consists of a program and relevent information for its reloaction
can itself perform the relocation of its address sensitive positions
All of the above
25. A self relocating program in one which
can not be made to exercise in any area of storage other than the one designated for it at the time of its coding or translation
consists of a program and relevent information for its reloaction
one itself perform the relocation of its address sensitive positions
All of the above
26. The linker
is the same as loader
is required to create a load module
user source code as input
is always used before programs are executed
27. Consider a program with a linked origin of 5000. Let the memory area allocated to it have the start address of 70000. Which amongst the following will be the value to be loaded in relocation register?
20000
50000
70000
None of the above
28. Relocating bits used by relocating loader are specified by
Relocating loader itself
Linker
Assembler
Macro processor
29. Which of the following can be accessed by transfer vector approach of linking?
External data segments
External subroutines
Data located in other procedure
All of these
30. A system program that combines separately compiled modules of a program into a form suitable for execution is
Assembler
Linking loader
Cross compiler
None of the mentioned
31. A system program that brings together separately compiled modules of a program into a form language that is suitable for execution
Assembler
Linking loade
Cross compiler
None of the mentioned
32. A system program that combines the separately compiled modules of a program into a form suitable for execution?
Assembler
Compiler
Linking Loader
Interpreter
33. Which of the following system software always resides in the main memory ?
Text Editor
Assembler
Linker
Loader
34. Loader is a program that
places programs into memory and prepares them for execution
automates the translation of assembly language into machine language
accepts a program written in a high level language and produces an object program
appers to execute a source program as if it were machine language
35. A loader is
a program that places programs into memory and prepares them for execution
a program that automate the translation of assembly language into machine language
a program that accepts a program written in a high level language and produces an object program
is a program that appears to execute a source program if it were machine language
36. In an aboslute loading scheme, which loader function is accomplished by programmer?
Linking
Allocation
Both (a) and (b)
Reallocation
37. A loader is a program that
program that places programs into memory and prepares them for execution.
program that automates the translation of assembly language into machine language.
program that accepts a program written in a high level language and produces as object program.
None of these
38. A system program that setup an executable program in main memory ready for execution is
loader
linker
assembler
load and go
39. A system program that set-up an executable program in main memory ready A system program that set-up an executable program in main memory ready for execution isfor execution is
linker
loader
assembler
text editor
40. A non relocatable program is the one which
can itself perform the relocation of its address sensitive portions
consists of a program and relevant information for its relocation
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
cannot be made to execute in any area of storage other than thecannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation one design
41. Which of the following module does not incorporate initialization of values changed by the module ?
re-enterable module
non reusable module
serially reusable module
all of these
42. A linker reads four modules whose lengths are 200, 800, 600 and 500 words, respectively. If they are loaded in that order, what are the relocation constants ?
200, 700, 1300, 2100
200, 500, 600, 800
0, 200, 1000, 1600
0, 200, 500, 600
43. In an absolute loading scheme, which loader function is accomplished by assembler ?
Linking
Loading
Allocation
Reallocation
44. In an absolute loading scheme, which loader function is accomplished by loader ?
Linking
Loading
Allocation
Reallocation
45. A linker is given object module for a set ofprograms that were compiled separately. What information need not be included in an object module
Object code
Relocation bits
Absolute addresses of internal symbols.
Names and locations of all external symbols denied in the object module
46. Which of the following functions is performed by loader ?
Adjust all address dependent locations, such as address constants, to correspond to the allocated space
Allocate space in memory for the programs and resolve symbolic references between objects decks
Physicaly place the machine instructions and data into memory
All of the above
47. Which of the following functions is/ are performed by the loader?
Physically place the machine instructions and data into memory
Allocate space in memory for the programs and resolve symbolic references between object decks
Adjust all address dependent locations, such as address constants, to correspond to the allocated space
All of the above
48. Loaders that allow for program relocation are called
relative loaders
relocating loaders
both (a) and (b)
None of the above
49. When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed
bootstrap loader
loader
linker
None of the above
50. A relocate program form is the one which
consists of a program and relevant information for its relocation
can itself perform the relocation of its address-sensitive portions
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
All of the above
51. In an absolute loading scheme, which loader function is accomplished by loader?
Linking
Loading
Allocation
Reallocation
52. In what module, multiple instances of execution will yield the same result even if one instancy has not terminated before the next one has begun?
serially reusable
recursive module
reenterable module
non-reusable module
Submit