EXAMRADAR

Question: Which of the following statements stands true for Static linking? <ol> <li>the linker links all modules of a program before its execution begins.</li> <li>The linker is invoked when an unresolved external reference is encountered during its execution.the linker resolves the external reference and resumes execution of the program.</li> <li>if several programs use the same module from a library,each program will get a private copy of the module;several copies of the module might present in a memory at the same time if program using the same module.</li> <li>All of the above.</li> </ol>

Answer:

the linker links all modules of a program before its execution begins.
it produce binary program that does not contain any unresolved external references.
if several programs use the same module from a library,each program will get a private copy of the module;several copies of the module might present in a memory at the same time if program using the same module.

MCQ: Which of the following statements stands true for Static linking? <ol> <li>the linker links all modules of a program before its execution begins.</li> <li>The linker is invoked when an unresolved external reference is encountered during its execution.the linker resolves the external reference and resumes execution of the program.</li> <li>if several programs use the same module from a library,each program will get a private copy of the module;several copies of the module might present in a memory at the same time if program using the same module.</li> <li>All of the above.</li> </ol>

Correct Answer: A. 1 only

Explanation:

the linker links all modules of a program before its execution begins.
it produce binary program that does not contain any unresolved external references.
if several programs use the same module from a library,each program will get a private copy of the module;several copies of the module might present in a memory at the same time if program using the same module.

Discuss a Question

Related Questions

You may be interested in:

OS Memory Management MCQs

Recently Added Articles

How Can AI Simplify the Academic Life of Students?

How Can AI Simplify the Academic Life of Students?

Last updated on: April 16, 2025Posted by: ExamRadar

Want to Clear IBPS RRB PO? Master These Mock Test Hacks!

Last updated on: March 10, 2025Posted by: ExamRadar

Top AI Tools for Instantly Detecting Plagiarized Writing

Last updated on: December 5, 2024Posted by: ExamRadar

5 Important Tools for System Administrators

Last updated on: December 1, 2024Posted by: ExamRadar

Image to Text Conversion Made Easy: Online Tool Insights

Last updated on: April 12, 2024Posted by: ExamRadar

Tips to Write an Email: Pro Email Writing Tips

Last updated on: March 20, 2024Posted by: ExamRadar

Yellow diamond: the market worth and value

Last updated on: March 9, 2024Posted by: ExamRadar