Question 94

Computer Awareness Computer Software Easy

Which ONE of the following is a DISADVANTAGE of using dynamically linked library (DLL), compared to using statically linked library?

(A) Executable file size is larger with DLL
(B) RAM usage is larger with DLL
(C) A program cannot take advantage of bug-fixes in the DLL, long after the program is written
(D) None of the other options
View Dynamic Solution & Explanation
Correct Solution: Option D

Step-by-step Solution:

Let us analyze the given options regarding Dynamically Linked Libraries (DLLs): 1. DLLs result in a **smaller** executable file size because the library code is loaded at runtime and is not embedded into the executable file. 2. DLLs typically **reduce** RAM usage because multiple programs can share a single copy of the DLL loaded in memory. 3. Programs **can** easily take advantage of bug fixes in a DLL. By simply updating the DLL file, all programs using it benefit from the fix without needing recompilation. Since all the statements listed in the options describe incorrect disadvantages (they are actually advantages), the correct choice is 'None of the other options'.