|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
WINDOWS PROGRAMING
DETAILS
Question: What are Dynamic Loading, Dynamic Linking and Overlays?
Answer: Dynamic Loading: ► Routine is not loaded until it is called ► Better memory-space utilization; unused routine is never loaded. ► Useful when large amounts of code are needed to handle infrequently occurring cases. ► No special support from the operating system is required implemented through program design. Dynamic Linking: ► Linking postponed until execution time. ► Small piece of code, stub, used to locate the appropriate memory-resident library routine. ► Stub replaces itself with the address of the routine, and executes the routine. ► Operating system needed to check if routine is in processes? memory address. ► Dynamic linking is particularly useful for libraries. Overlays: ► Keep in memory only those instructions and data that are needed at any given time. ► Needed when process is larger than amount of memory allocated to it. ► Implemented by user, no special support needed from operating system, programming design of overlay structure is complex.
|
|
|
Category |
Windows Programing Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 9286 users |
Added on |
9/22/2014 |
Views |
70859 |
Rate it! |
|
|
Question:
What are Dynamic Loading, Dynamic Linking and Overlays?
Answer:
Dynamic Loading: ► Routine is not loaded until it is called ► Better memory-space utilization; unused routine is never loaded. ► Useful when large amounts of code are needed to handle infrequently occurring cases. ► No special support from the operating system is required implemented through program design. Dynamic Linking: ► Linking postponed until execution time. ► Small piece of code, stub, used to locate the appropriate memory-resident library routine. ► Stub replaces itself with the address of the routine, and executes the routine. ► Operating system needed to check if routine is in processes? memory address. ► Dynamic linking is particularly useful for libraries. Overlays: ► Keep in memory only those instructions and data that are needed at any given time. ► Needed when process is larger than amount of memory allocated to it. ► Implemented by user, no special support needed from operating system, programming design of overlay structure is complex. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the main component of operating system?
|
View Answer
|
|
What is active directory? How it works? What is dns? How it works? What is dhcp? How it works? What is ias? How it works?
|
View Answer
|
|
On a system with paging, a process cannot access memory that it does not own why? How could the operating system allow access to other memory? Why should it or should it not?
|
View Answer
|
|
Why are page sizes always powers of 2?
|
View Answer
|
|
What is the difference between Hard and Soft real-time systems?
|
View Answer
|
|
What are the major differences between windows XP and Windows 2000 operating systems?
|
View Answer
|
|
Explain Segmentation with paging?
|
View Answer
|
|
Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them?
|
View Answer
|
|
Describe the actions taken by thread library to context switch between user level threads?
|
View Answer
|
|
Difference between Logical and Physical Address Space?
|
View Answer
|
|
If a system has 128 MB RAM and 1 GB hard Disk, and a process decides to use its fully allotted Virtual Memory 2^32 - 2GB = 2 GB, how is it practically possible?. But this works in all machines. How?
|
View Answer
|
|
What is starvation and aging?
|
View Answer
|
|
Give a non-computer example of preemptive and non-preemptive scheduling?
|
View Answer
|
|
Define Demand Paging, Page fault interrupt, and Trashing?
|
View Answer
|
|
What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
|
View Answer
|
|
Why thread is called as a lightweight process?
|
View Answer
|
|
Compare Linux credit based algorithm with other scheduling algorithms?
|
View Answer
|
|
Condition for deadlock occurrence?
|
View Answer
|
|
What is the relation between process system time, process waiting time , and process CPU time?
|
View Answer
|
|
Differentiate between Compiler and Interpreter?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Windows Programing Interview Questions & Answers - Exam Mode /
Learning Mode
|