Memory Management (OCR A-Level Computer Science): Flashcards

📚Flashcards
Memory Management
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

14 cards from this deck

Show

Memory management

OS function allocating, tracking & freeing memory resources

Three main memory management techniques

Paging, segmentation, virtual memory

Paging definition

Memory divided into small fixed-size blocks called pages

Page frames

Fixed-size blocks in physical RAM where pages are loaded

Paging prevents this

Fragmentation

Page table purpose

Maps program's pages to physical memory page frames

Segmentation definition

Memory divided into variable-sized segments by program logic

Segmentation based on

Logical structure of program (code, data, stack)

Virtual memory definition

Extends physical memory by using disk space as additional RAM

Swap space

Disk section storing inactive process pages when RAM is full

Thrashing

System slowdown from excessive swapping between RAM and disk

Virtual memory benefit

Supports multitasking & allows programs larger than RAM

Virtual memory drawback

Slower access (disk vs RAM) & increased storage wear

Paging vs segmentation key difference

Paging: fixed-size; Segmentation: variable-size by logic

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.