Operating System Questions and Answers Part-29

1. What is Address Binding?
a) going to an address in memory
b) locating an address with the help of another address
c) binding two addresses together to form a new address in a different memory space
d) a mapping from one address space to another

Answer: d
Explanation: Address Binding is a mapping from one address space to another

2. Binding of instructions and data to memory addresses can be done at ___________
a) Compile time
b) Load time
c) Execution time
d) all of the mentioned

Answer: d
Explanation: all of the mentioned

3. If the process can be moved during its execution from one memory segment to another, then binding must be _________
a) delayed until run time
b) preponed to compile time
c) preponed to load time
d) none of the mentioned

Answer: a
Explanation: If the process can be moved during its execution from one memory segment to another, then binding must be delayed until run time

4. What is Dynamic loading?
a) loading multiple routines dynamically
b) loading a routine only when it is called
c) loading multiple routines randomly
d) none of the mentioned

Answer: b
Explanation: loading a routine only when it is called

5. What is the advantage of dynamic loading?
a) A used routine is used multiple times
b) An unused routine is never loaded
c) CPU utilization increases
d) all of the mentioned

Answer: b
Explanation: An unused routine is never loaded

6. The idea of overlays is to ____________
a) data that are needed at any given time
b) enable a process to be larger than the amount of memory allocated to it
c) keep in memory only those instructions
d) All of the mentioned

Answer: d
Explanation: All of the mentioned

7. The ___________ must design and program the overlay structure.
a) programmer
b) system architect
c) system designer
d) none of the mentioned

Answer: a
Explanation: The programmer must design and program the overlay structure

8. The ___________ swaps processes in and out of the memory.
a) Memory manager
b) CPU
c) CPU manager
d) User

Answer: a
Explanation: The memory manager swaps processes in and out of the memory.

9. If a higher priority process arrives and wants service, the memory manager can swap out the lower priority process to execute the higher priority process. When the higher priority process finishes, the lower priority process is swapped back in and continues execution. This variant of swapping is sometimes called?
a) priority swapping
b) pull out, push in
c) roll out, roll in
d) none of the mentioned

Answer: c
Explanation: roll out, roll in

10. In a system that does not support swapping ____________
a) the compiler normally binds symbolic addresses (variables) to relocatable addresses
b) the compiler normally binds symbolic addresses to physical addresses
c) the loader binds relocatable addresses to physical addresses
d) binding of symbolic addresses to physical addresses normally takes place during execution

Answer: a
Explanation: In a system that does not support swapping the compiler normally binds symbolic addresses (variables) to relocatable addresses