• Foundation
  • About 12 min
  • 5 practice questions

What an operating system does: its main management jobs

List the jobs of an operating system: processes, memory, files, devices, security and the user interface, and match each job to an everyday example.

If something looks wrong, please tell us.

You already know that the operating system is the most important system software. This lesson looks inside it. An operating system (OS) is best pictured as a manager: it decides which program gets the processor, where each program sits in memory, where files are stored and how devices are shared. Exam questions usually ask you to name the job that matches a situation.

The main jobs of an operating system

Six jobs of an operating system
JobWhat it managesEveryday sign
Process managementWhich program uses the processor, and for how longSeveral programs seem to run together
Memory managementGiving each program a share of RAM and taking it backA new program opens only if there is room
File managementNaming, storing, finding and protecting files and foldersFiles sit inside folders on a drive
Device managementInput and output devices, using their driversA printer prints when you click Print
Security managementWho may log in and what each user may doA password is asked at sign-in
User interfaceHow the user gives commands and sees resultsIcons, windows or typed commands

Process management and multitasking

A process is a program that is currently running. A computer has one or a few processor cores, yet you can listen to music, type a document and download a file together. The OS makes this possible by multitasking: it gives each process a very short turn on the processor, called a time slice, and then switches to the next. The switching is so fast that everything appears to run at once. The part of the OS that decides whose turn it is is called the scheduler.

Memory management

Programs and the data they use must be in RAM while they run. The OS allots memory to each program, keeps programs from overwriting each other and frees the space when a program closes. When RAM becomes full, many systems use virtual memory: a part of the hard disk or SSD is used as an extension of RAM. This avoids a crash but makes the computer slower, because disks are much slower than RAM.

File management

The OS keeps files in folders (also called directories) arranged in a tree. The full address of a file is its path. A file name often ends with an extension after a dot, such as .docx or .jpg, which tells the OS which program normally opens it.

Worked examples

Example 1. Five programs are open and the OS gives each a time slice of 20 milliseconds (illustrative figure). One full round takes 5 x 20 = 100 milliseconds. Each program gets 20 of every 100 milliseconds, which is 1/5 or 20 percent of the processor's time. This is process management by time slicing.

Example 2. A computer has 4 GB of RAM. The OS keeps 1 GB for itself and the user opens three programs needing 1 GB each. Memory used = 1 + 3 = 4 GB, so RAM is exactly full. If a fourth program is opened, the OS may move idle data to the disk as virtual memory, and the computer slows down. This is memory management.

Example 3. Read the path C:\Reports\2026\March.docx. The drive is C, the main folder is Reports, the sub-folder is 2026, the file name is March and the extension is docx, so it is a word processor document. Reading paths like this is file management.

The operating system is the manager: it shares the processor, memory, storage and devices among programs and users.

Key takeaways. The OS manages processes, memory, files, devices, security and the user interface. Multitasking works by time slices. Virtual memory trades speed for capacity. A path names a file's drive, folders, name and extension.

Check your understanding

  1. 1. Giving each running program a short turn on the processor in rotation is called:

    1. Time slicing
    2. Defragmenting
    3. Compiling
    4. Formatting
    Show answer

    Answer: A. Time slicing is the way multitasking shares the processor. Defragmenting rearranges file pieces, compiling translates code and formatting prepares a disk.

  2. 2. Which OS job is being done when RAM is shared among programs?

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

    Answer: B. Allotting and freeing RAM for programs is memory management. File management deals with stored files, and device management with hardware.

  3. 3. The part of a file name after the final dot, such as docx, is its:

    1. Folder path
    2. Drive letter
    3. Extension
    4. Folder name
    Show answer

    Answer: C. The extension tells the OS what kind of file it is and which program usually opens it. The path is the full address of the file.

  4. 4. A system uses part of the disk as if it were extra RAM. This is known as:

    1. Cache memory
    2. Virtual memory
    3. Read-only memory
    4. Firmware memory
    Show answer

    Answer: B. Virtual memory extends RAM using disk space. Cache is a small fast memory near the processor, and ROM and firmware hold permanent start-up instructions.

  5. 5. A password is asked before you can use a shared computer. Which OS job is this?

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

    Answer: D. Controlling who may log in and what each user may do is security management. The other jobs manage RAM, processes and devices.

Privacy · Terms · Refunds · Delivery