74.8k views
4 votes
To obtain better memory utilization, dynamic loading is used. With dynamic loading, a routine is not loaded until it is called. For implementing dynamic loading,

a) Special support from hardware is required
b) Special support from operating system is essential
c) Special support from both hardware and operating system is essential
d) User programs can implement dynamic loading without any special support from hardware or operating system

User Rasel
by
8.3k points

1 Answer

3 votes

Final answer:

Dynamic loading requires special support from both the hardware and the operating system to optimize memory utilization.

Step-by-step explanation:

In order to implement dynamic loading, special support from both the hardware and the operating system is essential. Dynamic loading allows a routine to be loaded into memory only when it is called, which helps to optimize memory utilization.

Special support from the hardware is required to handle the loading and execution of dynamically loaded routines. This support includes mechanisms such as interrupt handling and memory management units.

Similarly, the operating system plays a critical role in dynamic loading by providing the necessary functionality and services to manage and control the loading of routines as they are needed by user programs. The operating system handles tasks such as locating and loading the routines, resolving dependencies, and managing memory allocation and deallocation.

User Daniel Newtown
by
7.7k points