A dynamic loader ______. 1. Dynamically allocates a Logical Address Space 2. Run
ID: 3853538 • Letter: A
Question
A dynamic loader ______. 1. Dynamically allocates a Logical Address Space 2. Runs at the end of process execution 3. Loads parts of a program into memory as they're needed during execution 4. Loads all of a program into memory prior to execution A relocation register is used to perform _______. 1. Compile time binding of addresses 2. Load time binding 3. Translation time binding 4. Execution time binding The "Single Contiguous Allocation" mechanism of memory allocation results in _______. 1. Wasted space 2. Complex management algorithms 3. Wasted time 4. A and C The Logical Address Space of a process is ______. 1. The set of all addresses within physical memory 2. An address within the program (appearing in a program instruction) 3. The set of all addresses within the process itself 4. An address within primary memoryExplanation / Answer
Q1-A dynamic loader loads the part of program into the memory as they are neededduring execution.
dynamic loading is the process of loading a libraryinto the memory at runtime,retrieve the addresses of functions and variables contained in the library.
Q2- A relocation register is used to perform Load time binding.
a relocation register is used in address mapping from logical to physical address.
The address generated by CPU is a logical address which is not known to main memory
the physical memory only knows physical address there fore address generated by CPU is
compared with a limit register and if the value if low it is added to the value in relocation
register to get a physical address.
Q3-A and C
Conitiguous memory allocation is one of the oldest allocation model that assigns a process
consecutive memory blocks.The siz of the process is compared to the amount of contiguous main memory
available to execute the rpocess if its available then the process is allocated to the processor
other wise the process is added to the queue of waiting process untill sufficient free contiguous memory is available.
this leads to wastage of space a small memory is leftt it cannot be allocated to processes
and as processes need to wait in the waiting queue then it wastes a lot of time.
Q4-The logical address space is a set of all addresses within the process itself.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.