MCQOPTIONS
Saved Bookmarks
This section includes 33 Mcqs, each offering curated multiple-choice questions to sharpen your Systems Programming knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
In an absolute loading scheme which loader function is accomplished by loader |
| A. | reallocation |
| B. | allocation |
| C. | linking |
| D. | loading |
| Answer» B. allocation | |
| 2. |
When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed |
| A. | bootstrap loader |
| B. | loader |
| C. | linker |
| D. | None of the above |
| Answer» B. loader | |
| 3. |
In an absolute loading scheme, which loader function is accomplished by assembler ? |
| A. | Linking |
| B. | Loading |
| C. | Allocation |
| D. | Reallocation |
| Answer» E. | |
| 4. |
A linker is given object module for a set ofprograms that were compiled separately. What information need not be included in an object module |
| A. | Object code |
| B. | Relocation bits |
| C. | Absolute addresses of internal symbols. |
| D. | Names and locations of all external symbols denied in the object module |
| Answer» D. Names and locations of all external symbols denied in the object module | |
| 5. |
Which of the following system software always resides in the main memory ? |
| A. | Text Editor |
| B. | Assembler |
| C. | Linker |
| D. | Loader |
| Answer» E. | |
| 6. |
Which is not a funciton of a loader |
| A. | allocation |
| B. | translation |
| C. | relocation |
| D. | loading |
| Answer» C. relocation | |
| 7. |
Dynamic memory allocation is implementing using ________________. |
| A. | queue and stacks |
| B. | trees |
| C. | stack and heaps |
| D. | graphs |
| Answer» D. graphs | |
| 8. |
Dynamic memory allocation is typically performed during _______________. |
| A. | loading of the program |
| B. | compilation of the program |
| C. | execution of the program |
| D. | None of the above |
| Answer» D. None of the above | |
| 9. |
In an absolute loading scheme, which loader function is accomplished by loader ? |
| A. | Linking |
| B. | Loading |
| C. | Allocation |
| D. | Reallocation |
| Answer» C. Allocation | |
| 10. |
A system program that sets up an executable program in main memory ready for execution |
| A. | assembler |
| B. | linker |
| C. | loader |
| D. | laod and go |
| Answer» D. laod and go | |
| 11. |
Disadvantage of compile and go loading scheme is that |
| A. | a position of memory is wasted because the case occupied by the assembler is unavailable the object program |
| B. | it is necessary to retranslate the users program check every time it is run |
| C. | it is very difficult to handle multiple segments especially if the source programs are in different language and to produce overlay modular programs |
| D. | all of the above |
| Answer» E. | |
| 12. |
In an aboslute loading scheme, which loader function is accomplished by programmer? |
| A. | Linking |
| B. | Allocation |
| C. | Both (a) and (b) |
| D. | Reallocation |
| Answer» D. Reallocation | |
| 13. |
Which of the following functions is performed by loader ? |
| A. | Adjust all address dependent locations, such as address constants, to correspond to the allocated space |
| B. | Allocate space in memory for the programs and resolve symbolic references between objects decks |
| C. | Physicaly place the machine instructions and data into memory |
| D. | All of the above |
| Answer» E. | |
| 14. |
If load origin is not equal to linked origin then relocation is performed by |
| A. | Loader |
| B. | Linker |
| C. | By program itself |
| D. | Relocation not performed |
| Answer» B. Linker | |
| 15. |
If linked origin is not equal to translated address then relocation is performed by____________. |
| A. | Absolute Loader |
| B. | Loader |
| C. | Linker |
| D. | None of the above |
| Answer» D. None of the above | |
| 16. |
________________is used for reducing relocation requirements. |
| A. | Relocation register |
| B. | Track register |
| C. | Binding register |
| D. | Segment Register |
| Answer» E. | |
| 17. |
Loaders that allow for program relocation are called |
| A. | relative loaders |
| B. | relocating loaders |
| C. | both (a) and (b) |
| D. | None of the above |
| Answer» D. None of the above | |
| 18. |
Linking is process of binding |
| A. | Internal part of a program |
| B. | external functional call |
| C. | External reference to the correct link time address |
| D. | None of the above |
| Answer» D. None of the above | |
| 19. |
Binder performs the functions of |
| A. | allocation |
| B. | relocation |
| C. | linking |
| D. | all of these |
| Answer» E. | |
| 20. |
________________ are used for reduce the main memory requirements of program. |
| A. | Heaps |
| B. | Overlays |
| C. | Graphs |
| D. | None of the above |
| Answer» C. Graphs | |
| 21. |
A self relocating program in one which |
| A. | 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 |
| B. | consists of a program and relevent information for its reloaction |
| C. | one itself perform the relocation of its address sensitive positions |
| D. | all of the above |
| Answer» D. all of the above | |
| 22. |
A system program that set up an executable program in main memory ready for execution is |
| A. | assembler |
| B. | linker |
| C. | loader |
| D. | text-editor |
| Answer» D. text-editor | |
| 23. |
The non-relocateable program is one which |
| A. | 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 |
| B. | consists of a program and relevent information for its reloaction |
| C. | can itself perform the relocation of its address sensitive positions |
| D. | all of the above |
| Answer» B. consists of a program and relevent information for its reloaction | |
| 24. |
Loader is a program that |
| A. | places programs into memory and prepares them for execution |
| B. | automates the translation of assembly language into machine language |
| C. | accepts a program written in a high level language and produces an object program |
| D. | appers to execute a source program as if it were machine language |
| Answer» B. automates the translation of assembly language into machine language | |
| 25. |
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 ? |
| A. | 200, 700, 1300, 2100 |
| B. | 200, 500, 600, 800 |
| C. | 0, 200, 1000, 1600 |
| D. | 0, 200, 500, 600 |
| Answer» C. 0, 200, 1000, 1600 | |
| 26. |
Memory allocation involves which of the following task(s) |
| A. | determine amount of memory required |
| B. | use an appropriate memory allocation model |
| C. | determine appropriate memory mapping |
| D. | All of the above |
| Answer» E. | |
| 27. |
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? |
| A. | 20000 |
| B. | 50000 |
| C. | 70000 |
| D. | None of the above |
| Answer» E. | |
| 28. |
Relocatable programs |
| A. | cannot be used with fixed partitions |
| B. | can be loaded almost anywhere in memory |
| C. | do not need a linker |
| D. | can be loaded only at one specific location |
| Answer» C. do not need a linker | |
| 29. |
Static memory allocation is typically performed during _____________. |
| A. | compilation |
| B. | execution |
| C. | loading |
| D. | linking |
| Answer» B. execution | |
| 30. |
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» C. Cross compiler | |
| 31. |
The linker ? |
| A. | is same as the loader |
| B. | is required to create a load module |
| C. | is always used before programs are executed |
| D. | None of above |
| Answer» C. is always used before programs are executed | |
| 32. |
Loading process can be divided into two separate programs, to solve some problems. The first is binder the other is ? |
| A. | Linkage editor |
| B. | Module Loader |
| C. | Relocator |
| D. | None of these |
| Answer» C. Relocator | |
| 33. |
Load address for the first word of the program is called |
| A. | Linker address origin |
| B. | Load address origin |
| C. | Phase library |
| D. | Absolute library |
| Answer» C. Phase library | |