• Foundation
  • About 12 min
  • 5 practice questions

Types of operating systems and user interfaces

Tell apart batch, time-sharing, multi-user, real-time, embedded and mobile operating systems, and compare command-line and graphical interfaces.

If something looks wrong, please tell us.

Not every computer needs the same kind of operating system. A bank's overnight job, a factory robot, a phone and a family laptop each have different needs. In this lesson you learn the standard classes of operating system and the two main ways a user talks to one, because both are common one-line exam questions.

Classes of operating system

Classes of operating system
TypeKey ideaTypical use
Single-user, single-taskOne user runs one program at a timeVery simple devices and early computers
Single-user, multitaskingOne user runs many programs togetherA home or office computer
Multi-userMany users share one computer at onceA server used through many terminals
BatchJobs are collected and run later with no user presentPrinting bills or processing payroll overnight
Real-timeMust respond within a strict time limitIndustrial control, flight systems
EmbeddedBuilt into a device and does one fixed jobWashing machine, camera, router
MobileDesigned for touch screens and battery lifeSmartphones and tablets

Time-sharing is the method by which a multi-user system gives each user a quick turn, so every user feels the computer is theirs alone. A real-time system is judged by whether it answers in time: a late answer is a wrong answer, even if the content is right. Linux, Windows and macOS are general-purpose desktop systems; Android and iOS are mobile systems. Linux is open source, while Windows is proprietary.

User interfaces

The user interface is the way a person gives commands to the computer and sees the result. There are two classic kinds.

  • Command-line interface (CLI): the user types text commands at a prompt. It needs commands to be remembered, but it uses little memory and is powerful for repeated tasks.
  • Graphical user interface (GUI): the user points at windows, icons and menus with a mouse or finger. It is easy for beginners. The idea is often remembered as WIMP: Windows, Icons, Menus, Pointer.
  • Touch and voice interfaces: common on phones, where gestures or spoken commands replace the mouse and keyboard.

Worked examples

Example 1. Choose the best type of OS for each job. (a) A bank prepares thousands of statements overnight with nobody at the keyboard: batch. (b) A controller keeps the temperature of a chemical tank within limits and must react in a fraction of a second: real-time. (c) A college server is used by 100 staff members at once from their desks: multi-user with time-sharing. (d) The program inside a microwave oven: embedded.

Example 2. A user wants to copy a file named report.txt to a folder named backup. In a CLI the user types a command such as copy report.txt backup and presses Enter; the user must know the command and its spelling. In a GUI the user selects the file icon, drags it onto the backup folder icon and releases. A GUI is easier to learn; a CLI is quicker for an expert repeating the task for hundreds of files.

Example 3. What does each letter of WIMP stand for? W is windows, I is icons, M is menus and P is pointer. A system with all four is a graphical interface, so a plain text prompt is not WIMP.

Match the job to the type: later and unattended is batch, on time is real-time, many at once is multi-user, inside a gadget is embedded.

Key takeaways. Operating systems are classified by how many users and tasks they handle and how fast they must respond. A CLI uses typed commands; a GUI uses windows, icons, menus and a pointer. Always read the scenario for words such as overnight, strict deadline or shared.

Check your understanding

  1. 1. A payroll program that runs overnight with no user present suits which type of OS?

    1. Real-time
    2. Embedded
    3. Batch
    4. Mobile
    Show answer

    Answer: C. Jobs collected and run later without a user present are handled by a batch system. Real-time systems have strict deadlines; embedded ones are fixed inside devices.

  2. 2. The OS inside a digital camera that performs one fixed job is called:

    1. Embedded
    2. Multi-user
    3. Batch
    4. Time-sharing
    Show answer

    Answer: A. An embedded OS is built into a device and does one fixed job. Multi-user and time-sharing systems serve many people; batch runs unattended jobs.

  3. 3. In WIMP, the letter M stands for:

    1. Memory
    2. Machine
    3. Monitor
    4. Menus
    Show answer

    Answer: D. WIMP means Windows, Icons, Menus and Pointer. Memory and Monitor are other computer terms but are not part of this word.

  4. 4. Typing text commands at a prompt is the feature of which interface?

    1. Graphical interface
    2. Command-line interface
    3. Menu-driven interface
    4. Icon-based interface
    Show answer

    Answer: B. A command-line interface works by typed commands. The other three rely on pointing, touching or icons.

  5. 5. For which system is giving an answer within a strict time limit the main requirement?

    1. Batch
    2. Single-task
    3. Real-time
    4. Multi-user
    Show answer

    Answer: C. A real-time system must respond within fixed time limits, as in industrial control. Batch work can wait, and a late answer there does no harm.

Privacy · Terms · Refunds · Delivery