answer the questions? computer science
Homework #3
1. Why is address binding necessary?
2. What is the difference between “process” and “program”?
3. Draw a typical in-memory structure of a process:
4. Why global variables can persist until the process termination, but local variables lose their values outside their scopes?
5. What is the difference between “User Mode” and “Kernel Mode”?
Solution Preview
An address binding is a process by which memory management unit (MMU) maps the program’s logical or virtual addresses to a physical address or the main memory address. Address binding mainly happens through a set of 2 registers. This registers are relocation or base register and limit register. An address binding is necessary for memory management.
(690 words)