GATE Exam  >  GATE Questions  >  Which of the following is NOT an advantage of... Start Learning for Free
Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?
  • a)
    Smaller sizes of executable files
  • b)
    Lesser overall page fault rate in the system
  • c)
    Faster program startup
  • d)
    Existing programs need not be re-linked to take advantage of newer versions of libraries
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Which of the following is NOT an advantage of using shared, dynamicall...
In Non-Shared (static) libraries, since library code is connected at compile time, the final executable has no dependencies on the the library at run time i.e. no additional run-time loading costs, it means that you don’t need to carry along a copy of the library that is being used and you have everything under your control and there is no dependency.
View all questions of this test
Most Upvoted Answer
Which of the following is NOT an advantage of using shared, dynamicall...
Advantage of using shared, dynamically linked libraries:
Advantages of using shared, dynamically linked libraries over statically linked libraries include:

Smaller sizes of executable files:
- Shared libraries are loaded into memory only once, regardless of how many programs are using them, leading to smaller executable file sizes.
- This reduces disk space and memory usage, which can be beneficial for systems with limited resources.

Lesser overall page fault rate in the system:
- Shared libraries allow multiple programs to share the same code in memory, reducing the overall page fault rate in the system.
- This is because the code is loaded once and shared among multiple processes, reducing the number of page faults and improving system performance.

Existing programs need not be re-linked to take advantage of newer versions of libraries:
- One of the advantages of shared libraries is that existing programs do not need to be re-linked to take advantage of newer versions of libraries.
- This allows for easier maintenance and updates, as new versions of libraries can be installed without requiring changes to existing programs.

Explanation for the NOT advantage:

Faster program startup:
- One disadvantage of using shared, dynamically linked libraries is that they can lead to slower program startup times compared to statically linked libraries.
- This is because the dynamic linker needs to resolve and load the shared libraries at runtime, which can introduce overhead and increase startup time.
- In contrast, statically linked libraries are included in the executable file, leading to faster program startup times as all the required code is already present in the executable.
Explore Courses for GATE exam
Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer?
Question Description
Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically linked libraries?a)Smaller sizes of executable filesb)Lesser overall page fault rate in the systemc)Faster program startupd)Existing programs need not be re-linked to take advantage of newer versions of librariesCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev