Operating systems Flashcards
1
Q
Role of OS
A
- Hardware needs it to function
- Hides the complexities of the hardware
2
Q
OS functions
A
- Process management
- Hardware management
- File management
- User management
- network management
3
Q
Resource management
A
- Allocating cores to processors (Scheduling processes)
- Allocating RAM to processors (Moving data in / out of RAM)
- Allocating I/O devices to processors (Managing communication between I/O devices and processors)
- Allocating Space on a storage device to files (Determining where on device to save files)
- Installing new software
4
Q
Process
A
Execution of instructions in a program
5
Q
Running programs
A
- OS gives each program a unique process ID, storage space, priority and links process with user
- Multitasking allows many processes to be run at the same time on the same processes by switching between processes
6
Q
Multiprocessor
A
- Has more than one processor (runs more processes)
- Scheduling is more complex
7
Q
Hardware management
A
- I/O management, manages data transfers between CPU and I/O devices
- Resource management, allocates available hardware to programs running processes at any one time
8
Q
Memory Management
A
- Program is loaded to RAM to run
- RAM is allocated in blocks called pages
- Virtual memory uses disc space to swap out pages from RAM, allowing other pages to be loaded
9
Q
Interrupt handling
A
- interrupt is a signal from a peripheral or a program that pauses current processing
- OS may have to handle the interrupt immediately
- i.e. Keyboard/ mouse input, program crash
10
Q
File Management
A
- OS manages storage of files and directories
- files are stored in a hierarchy of directories
11
Q
User Management
A
- OS manages users of computer systems
- Provides interface that allow users to use the computer (GUI/CLI)
- Users have different privileges i.e. admin or superuser roles