C191 – Module 3: Memory Management – Flashcards

Unlock all answers in this set

Unlock answers
question
_____ is the method of binding instructions and data to memory performed by most general-purpose operating systems.
answer
Execution time binding
question
In systems that support virtual memory, ____.
answer
physical memory is separated from logical memory
question
An address generated by a CPU is referred to as a ____.
answer
logical address
question
Suppose a program is operating with execution-time binding and the physical address generated is 300. The relocation register is set to 100. What is the corresponding logical address?
answer
200
question
Belady's anomaly states that ____.
answer
for some page replacement algorithms, the page fault rate may increase as the number of allocated frames increases
question
_____ is the dynamic storage allocation algorithm that results in the smallest leftover hole in memory.
answer
Best-fit
question
Optimal page replacement ____.
answer
is used mostly for comparison with other page replacement schemes
question
_____ is the dynamic storage allocation algorithm that results in the largest leftover hole in memory.
answer
Worst-fit
question
A(n) ____ page table has one page entry for each real page (or frame) of memory.
answer
inverted
question
The ____ is the number of entries in the TLB multiplied by the page size.
answer
TLB reach
question
Consider a logical address with a page size of 8 KB. How many bits must be used to represent the page offset in the logical address?
answer
13
question
________ allows the parent and child processes to initially share the same pages, but when either process modifies a page, a copy of the shared page is created.
answer
Copy-on-write
question
_____ is the algorithm implemented on most systems.
answer
LRU
question
_____ occurs when a process spends more time paging than executing.
answer
Thrashing
question
Which of the following statements is false with regard to Solaris memory management?
answer
The speed at which pages are examined (the scan rate) is constant.
question
With segmentation, a logical address consists of _____.
answer
segment number and offset
question
Which of the following statements is false with regard to allocating kernel memory?
answer
Because the kernel requests memory of varying sizes, some of which may be quite small, the system does not have to be concerned about wasting memory.
question
Which of the following data structures is appropriate for placing into its own segment?
answer
heap, kernel code and data, user code and data
question
______ allows a portion of a virtual address space to be logically associated with a file.
answer
Memory mapping
question
A(n) ______ matches the process with each entry in the TLB.
answer
address space identifier
question
Systems in which memory access times vary significantly are known as __________.
answer
non-uniform memory access
question
Which of the following statements is true with respect to hashed page tables?
answer
They are a common approach for handling address spaces larger than 32 bits.
question
Which of the following is considered a benefit when using the slab allocator?
answer
There is no memory fragmentation.
question
Which of the following is not a reason explaining why mobile devices generally do not support swapping?
answer
small size of mobile applications do not require use of swap space
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New