Podcast
Questions and Answers
What is dynamic loading?
What is dynamic loading?
- Loading the main program into memory first
- Loading a routine only when it is called (correct)
- Loading the entire program and all data into physical memory
- Loading all routines into memory at once
How does dynamic loading improve memory-space utilization?
How does dynamic loading improve memory-space utilization?
- By loading routines into memory only when they are called (correct)
- By keeping all routines on disk in a fixed load format
- By increasing the size of physical memory
- By executing the main program first
What is the purpose of a relocatable load format?
What is the purpose of a relocatable load format?
- To load routines into memory at once
- To limit the size of a process to the size of physical memory
- To execute the main program
- To keep routines on disk in a relocatable format (correct)
When does a calling routine check whether another routine has been loaded?
When does a calling routine check whether another routine has been loaded?
What happens when a routine needs to call another routine that has not been loaded?
What happens when a routine needs to call another routine that has not been loaded?
What is the purpose of dynamic loading?
What is the purpose of dynamic loading?
What happens when a routine needs to call another routine that has not been loaded?
What happens when a routine needs to call another routine that has not been loaded?
What is the key advantage of using dynamic loading?
What is the key advantage of using dynamic loading?
How does dynamic loading overcome the limitation of process size being restricted to physical memory?
How does dynamic loading overcome the limitation of process size being restricted to physical memory?
What is the role of the relocatable linking loader in dynamic loading?
What is the role of the relocatable linking loader in dynamic loading?