Memory Management Flashcards
1
Q
Multitasking is only possible if…
A
- The operating system can support multitasking.
- The computer has enough memory to hold more than one program in primary memory at the same time.
2
Q
Describe the process of paging
A
- Memory is broken up into fixed-size blocks, known as pages.
- When a program is run, it is loaded into memory.
- The operating system determines how much memory the program requires, and allocates enough pages to hold it and its documents.
- When the program is closed, the allocated pages are freed up for use by other programs.
- The operating system knows what each page occupies and fetches the data held in them when needed.
3
Q
What is a peripheral?
A
Peripherals are hardware devices connected to a computer, such as a monitor, printer, scanner or camera.
4
Q
Using device drivers brings two advantages:
A
- Any device can be used with the operating system, as long as a driver is available for it.
- Drivers can be updated, usually to give better performance or to remove a bug.