Memory Management Overview
- 37Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
37 questions
- 1The hardware component that translates logical addresses into physical addresses is the_____.
Hint
Think about the device that performs address relocation.
Answer
memory management unit (MMU)
- 2The register that holds the starting address of a process in memory is called the_____register.
Hint
This register works with the limit register to define a process's memory range.
Answer
base
- 3In hardware address protection, a memory access is considered valid if the logical address is between_____and base + limit.
Hint
The lower bound check uses this register.
Answer
base
- 4When a program's addresses are generated at compile time and never change, this is known as_____binding.
Hint
This binding happens before the program is run.
Answer
compile time
- 5The difference between a logical address and a physical address is resolved by the_____.
Hint
This hardware component performs address translation.
Answer
memory management unit (MMU)
- 6When a process is loaded into memory, its relocatable addresses are adjusted to the actual load address at_____time.
Hint
This type of binding occurs when the program is brought into memory.
Answer
load
- 7In execution-time binding, addresses can be changed even after the process is running, which requires support from the_____.
Hint
The hardware unit that performs dynamic translation.
Answer
MMU (or memory management unit)
- 8The CPU can only directly access_____and main memory.
Hint
No other storage is directly accessible.
Answer
its registers
- 9A dynamically loaded library that is linked at runtime is called a_____.
Hint
Common on Windows systems; file extension .dll.
Answer
DLL (dynamic-link library)
- 10In swapping, when a process is moved from main memory to backing store, it is said to be_____out.
Hint
Opposite of 'swapped in'.
Answer
swapped
- 11The main disadvantage of swapping is that it can be slow because it involves_____.
Hint
Moving data to and from a slower storage medium.
Answer
disk I/O (or I/O operations)
- 12On mobile operating systems, instead of swapping, apps are often_____and their state saved.
Hint
The app is killed, but its context is preserved.
Answer
terminated
- 13In contiguous memory allocation, each process occupies a single_____block of memory.
Hint
No gaps within the process's allocated region.
Answer
contiguous
- 14The memory allocation strategy that selects the first hole large enough to fit a process is called_____-fit.
Hint
It scans memory from the beginning.
Answer
first
- 15The allocation strategy that picks the smallest hole that is still large enough to fit the process is called_____-fit.
Hint
It minimizes wasted space.
Answer
best
- 16The strategy that selects the largest available hole to place a process, aiming to leave a big leftover, is called_____-fit.
Hint
Opposite of best-fit.
Answer
worst
- 17The condition where total free memory is sufficient but not contiguous is known as_____fragmentation.
Hint
The free memory is fragmented into separate blocks.
Answer
external
- 18Wasted memory inside an allocated block due to rounding up the process size to the next allocation unit is called_____fragmentation.
Hint
The waste is within the partition, not outside.
Answer
internal
- 19The technique of moving all processes together in memory to eliminate external fragmentation is called_____.
Hint
Similar to defragmentation on a hard disk.
Answer
compaction
- 20In segmentation, a process is divided into logical units called_____.
Hint
Each segment corresponds to a logical part like code, data, stack.
Answer
segments
- 21In segmentation, the logical address consists of a segment number and a_____.
Hint
This indicates the location within the segment.
Answer
offset
- 22The segment table contains the base and_____for each segment.
Hint
This defines the length of the segment.
Answer
limit
- 23In paging, physical memory is divided into fixed-size blocks called_____.
Hint
The term for the physical chunks.
Answer
frames
- 24In paging, logical memory is divided into fixed-size blocks called_____.
Hint
The term for the logical chunks.
Answer
pages
- 25The data structure that maps logical page numbers to physical frame numbers is called the_____.
Hint
Kept per process, often in memory.
Answer
page table
- 26The average internal fragmentation due to paging is approximately_____of a page per process.
Hint
Due to the last page rarely being full.
Answer
half
- 27A list of available frames in memory that can be allocated to processes is called the_____.
Hint
Used during process creation.
Answer
free frame list
- 28The register that points to the base of the page table in memory is called the_____.
Hint
Its acronym is PTBR.
Answer
page table base register (PTBR)
- 29The register that holds the size of the page table is called the_____.
Hint
Acronym PTLR.
Answer
page table length register (PTLR)
- 30With paging, every memory access requires two memory accesses: one to the_____and one to the actual memory location.
Hint
The first access is to find the frame number.
Answer
page table
- 31A special fast cache that stores recent page-to-frame translations is called the_____.
Hint
It uses associative memory.
Answer
translation lookaside buffer (TLB)
- 32The TLB performs a_____search, allowing all entries to be checked simultaneously.
Hint
This is faster than sequential search.
Answer
parallel
- 33The fraction of memory references that are found in the TLB is called the_____.
Hint
Often denoted by alpha.
Answer
hit ratio
- 34If the TLB hit ratio is 80%, and TLB search takes 20 ns while memory access takes 100 ns, the effective memory access time is_____ns.
Hint
Use the formula from the lecture: EAT = hit * (TLB + memory) + (1-hit) * (TLB + 2*memory).
Answer
120
- 35In a page table entry, the bit that indicates whether a page is currently in memory and belongs to the process is called the_____bit.
Hint
Often one bit; if 0, the page is not available.
Answer
valid/invalid (or valid)
- 36Code that can be shared among multiple processes without modification, such as a spell checker, is called_____code.
Hint
It does not modify itself and uses separate data per process.
Answer
reentrant
- 37In paging, to protect memory, the page table can include_____bits to specify read, write, or execute permissions.
Hint
Similar to file permissions.
Answer
protection

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