- Practice
- About 12 min
- 5 practice questions
Functions of an operating system
List the main functions of an operating system and match each function to a real situation.
If something looks wrong, please tell us.
The operating system (OS) is the master program that manages hardware and software and acts as a bridge between the user and the computer. Exams ask which function the OS performs in a given situation, so learn the functions as a short list.
Core functions
| Function | Meaning |
|---|---|
| Process management | Decides which program uses the CPU and when |
| Memory management | Allocates and frees RAM for programs |
| File management | Creates, names, stores and protects files and folders |
| Device management | Controls input and output devices through drivers |
| Security | Controls who may use the system, for example through passwords |
| User interface | Provides a command line or graphical way to use the computer |
Worked examples
Example 1. Two programs need RAM at the same time and the OS gives each a separate area. Which function? Memory management.
Example 2. You press Print and the OS sends the document to the printer in the right form. Which function? Device management, using the printer driver.
OS manages the CPU, memory, files and devices, protects the system, and gives you an interface.
Key takeaways: the OS manages processes, memory, files and devices, and provides security and an interface.
Check your understanding
-
1. Two programs need RAM at the same time and the OS gives each a separate area. Which function is this?
- File management
- Device management
- Memory management
- Security
Show answer
Answer: C. Allocating and freeing RAM for programs is memory management.
-
2. You press Print and the OS sends the document to the printer in the right form using the printer driver. Which function is this?
- File management
- Memory management
- Process management
- Device management
Show answer
Answer: D. Controlling input and output devices through drivers is device management.
-
3. Which is NOT a function of an operating system?
- Typing a letter
- Managing memory
- Managing devices
- Managing files
Show answer
Answer: A. Typing a letter is done by an application such as a word processor.
-
4. Deciding which program gets the CPU next is
- Device management
- Process management
- File management
- Security
Show answer
Answer: B. Process management (CPU scheduling) decides which program uses the CPU and when.
-
5. Creating, naming, storing and protecting files and folders is
- File management
- Process management
- Device management
- Memory management
Show answer
Answer: A. These are the jobs of file management.
Sign in to keep track of the lessons you finish.