Memory management: paging and segmentation
50 min · Advanced
Memory management is how the OS shares main memory (RAM) between processes: where each one is placed, how its addresses are translated to real locations, and how free space is tracked. Placement tests turn this into numericals on address translation, fragmentation and access time.
Topics in this lesson
- Contiguous allocation, internal and external fragmentation
- Paging: pages, frames, page table, worked address translation
- TLB and effective access time
- Segmentation and how it differs from paging
- Interview questions with model answers
Interview questions this lesson answers
- What is memory management in an OS?
- What is the difference between a logical and a physical address?
- What is the MMU?
- What is swapping?
- What are base and limit registers?
- What is contiguous memory allocation?
- Explain first fit, best fit and worst fit.
- What is internal fragmentation?
- What is external fragmentation?
- How can external fragmentation be reduced?
Sign in free to continue this lesson
Create a free account to read every lesson, practise with the exercises and keep track of your progress.