• 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

Functions of an OS
FunctionMeaning
Process managementDecides which program uses the CPU and when
Memory managementAllocates and frees RAM for programs
File managementCreates, names, stores and protects files and folders
Device managementControls input and output devices through drivers
SecurityControls who may use the system, for example through passwords
User interfaceProvides 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.

— Remember this

Key takeaways: the OS manages processes, memory, files and devices, and provides security and an interface.

Check your understanding

  1. 1. Two programs need RAM at the same time and the OS gives each a separate area. Which function is this?

    1. File management
    2. Device management
    3. Memory management
    4. Security
    Show answer

    Answer: C. Allocating and freeing RAM for programs is memory management.

  2. 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?

    1. File management
    2. Memory management
    3. Process management
    4. Device management
    Show answer

    Answer: D. Controlling input and output devices through drivers is device management.

  3. 3. Which is NOT a function of an operating system?

    1. Typing a letter
    2. Managing memory
    3. Managing devices
    4. Managing files
    Show answer

    Answer: A. Typing a letter is done by an application such as a word processor.

  4. 4. Deciding which program gets the CPU next is

    1. Device management
    2. Process management
    3. File management
    4. Security
    Show answer

    Answer: B. Process management (CPU scheduling) decides which program uses the CPU and when.

  5. 5. Creating, naming, storing and protecting files and folders is

    1. File management
    2. Process management
    3. Device management
    4. Memory management
    Show answer

    Answer: A. These are the jobs of file management.

Sign in to keep track of the lessons you finish.

Next lesson → Types of operating systems

Privacy · Terms · Refunds · Delivery