Memory Management and Multitasking
Memory management is one job of an operating system, and it works with RAM: which programs and data are held in memory, where each running program's area of memory is, and when that memory can be freed. A task has to be matched to the function that really does that job, and the clue is what each function works with.
| Operating system function | What it works with |
|---|---|
| Memory management | RAM, and the programs and data held in it |
| Peripheral management | Input and output devices |
| User management | User accounts and access rights |
| File management | Files and folders in storage |
| User interface | How you see and control the computer |
Multitasking is part of memory management: holding several programs in RAM at once only works if each one is kept in its own area there. A task is memory management when the operating system is deciding what sits in RAM and where, even if a device or a file is involved somewhere in the job.
Worked example: a pupil starts exporting a video in a media editor and then opens a spreadsheet to log the results. Each program sits in its own area of RAM, so the export carries on while the spreadsheet is used. The task here is memory management, because the operating system is working with RAM and the programs inside it, not with a device, an account or a file.
OCR GCSE Computer Science · Memory Management and Multitasking