- 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
| Type | Key idea | Typical use |
|---|---|---|
| Single-user, single-task | One user runs one program at a time | Very simple devices and early computers |
| Single-user, multitasking | One user runs many programs together | A home or office computer |
| Multi-user | Many users share one computer at once | A server used through many terminals |
| Batch | Jobs are collected and run later with no user present | Printing bills or processing payroll overnight |
| Real-time | Must respond within a strict time limit | Industrial control, flight systems |
| Embedded | Built into a device and does one fixed job | Washing machine, camera, router |
| Mobile | Designed for touch screens and battery life | Smartphones 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. A payroll program that runs overnight with no user present suits which type of OS?
- Real-time
- Embedded
- Batch
- 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. The OS inside a digital camera that performs one fixed job is called:
- Embedded
- Multi-user
- Batch
- 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. In WIMP, the letter M stands for:
- Memory
- Machine
- Monitor
- 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. Typing text commands at a prompt is the feature of which interface?
- Graphical interface
- Command-line interface
- Menu-driven interface
- 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. For which system is giving an answer within a strict time limit the main requirement?
- Batch
- Single-task
- Real-time
- 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.
Sign in to keep track of the lessons you finish.