Operating System (OS) Question:
Download Questions PDF

Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?

Operating System (OS) Interview Question
Operating System (OS) Interview Question

Answer:

For load-time dynamic linking: Load module to be loaded is read into memory. Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.
With run-time dynamic loading: Some of the linking is postponed until actual reference during execution. Then the correct module is loaded and linked.

Download Operating System (OS) Interview Questions And Answers PDF

Previous QuestionNext Question
What are placement and replacement algorithms In the context of memory management?Can you please explain the difference between demand-paging and pre-paging?