Virtual Memory Management
- 23Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
23 questions
- 1Virtual memory allows a process to have a_____address space that is distinct from physical memory.
Hint
Think of the term that contrasts with 'physical' when describing memory seen by a process.
Answer
logical
- 2The technique of loading pages only when they are needed is called_____paging.
Hint
This approach is also known as 'lazy swapping' because it waits until a page is actually used.
Answer
demand
- 3When a process references a page that is not in physical memory, it generates a_____.
Hint
This is an interrupt that occurs when a required page is missing from main memory.
Answer
page fault
- 4The component of the operating system that handles page faults and loads pages on demand is called the_____.
Hint
This part of the OS is responsible for bringing pages into memory as needed.
Answer
pager
- 5In demand paging, when a page fault occurs, the process is moved to the_____queue until the page is loaded.
Hint
Think of the queue where processes go when they are waiting for an I/O operation to complete.
Answer
wait
- 6The approach where no pages are pre-loaded and the first instruction causes a page fault is called_____demand paging.
Hint
This term means 'complete' or 'absolute' when describing this lazy approach.
Answer
pure
- 7The phenomenon where a program tends to access a small set of pages repeatedly is known as_____of reference.
Hint
This property of programs is why demand paging works efficiently.
Answer
locality
- 8A dedicated area on disk used to store pages that are not currently in physical memory is called_____space.
Hint
This space is reserved for moving pages between memory and disk.
Answer
swap
- 9The effective access time in a demand-paging system depends on the probability of a_____.
Hint
The chance that a memory access will require a disk I/O to bring in a missing page.
Answer
page fault
- 10A system that spends most of its time swapping pages in and out instead of executing processes is experiencing_____.
Hint
This term describes a condition where the system is overwhelmed by paging activity.
Answer
thrashing
- 11The set of pages that a process is currently using frequently is called its_____set.
Hint
This term refers to the pages that must be in memory to avoid thrashing.
Answer
working
- 12The page replacement algorithm that chooses the page that will not be used for the longest time in the future is called the_____algorithm.
Hint
This algorithm provides a benchmark but is not implementable because it requires future knowledge.
Answer
optimal
- 13The page replacement algorithm that replaces the oldest page in memory is called_____.
Hint
This algorithm uses a simple queue to decide which page to evict.
Answer
FIFO
- 14The page replacement algorithm that replaces the page that has not been used for the longest time is called_____.
Hint
This algorithm uses past usage to predict future use.
Answer
LRU
- 15An anomaly where increasing the number of frames can lead to more page faults is known as_____anomaly.
Hint
Named after the researcher who discovered this counterintuitive behavior.
Answer
Belady's
- 16To avoid unnecessary writes to swap space, a page that has not been modified is called a_____page.
Hint
Opposite of 'dirty' – it means the page does not need to be written back.
Answer
clean
- 17A page that has been written to and contains new data is called a_____page.
Hint
This term indicates the page must be saved to swap space before being replaced.
Answer
dirty
- 18The technique of bringing in multiple pages around a faulted page to reduce future faults is called_____.
Hint
This approach groups pages together because of locality of reference.
Answer
clustering
- 19To control thrashing, an operating system can monitor the_____fault frequency and adjust the degree of multiprogramming.
Hint
If this frequency is too high, the system suspends processes to reduce paging.
Answer
page
- 20In Windows, the working set has a_____and maximum size that can be adjusted based on free memory.
Hint
This is the lower bound that guarantees a process a certain number of frames.
Answer
minimum
- 21During a page fault, the OS first checks if the memory reference is_____before proceeding to load the page.
Hint
This check ensures the address is allowed, not an illegal access.
Answer
valid
- 22A free frame list is used to keep a pool of available frames so that the pager can quickly_____a page without waiting for eviction.
Hint
This verb means to bring a page into memory from disk.
Answer
load
- 23The degree of multiprogramming can be reduced by_____a process to free frames and stop thrashing.
Hint
This action temporarily stops a process from executing.
Answer
suspending

Ask anything
We've read this whole study set, so questions about it get the best answers.