- Practice
- About 13 min
- 5 practice questions
Types of operating systems
Differentiate batch, multiprogramming, multitasking, multiuser and real-time systems with examples.
If something looks wrong, please tell us.
Operating systems are grouped by how they handle jobs and users. Papers often give a one-line description and ask for the type. Each type has one keyword that gives it away.
Types and keywords
| Type | Keyword | Description |
|---|---|---|
| Batch | No interaction | Similar jobs are collected and run in a group without user interaction |
| Multiprogramming | Keep the CPU busy | Several programs are kept in memory; the CPU switches when one waits for input or output |
| Multitasking | Many tasks at once | One user runs several programs seemingly together |
| Multiuser | Many users | Several users use the same computer at the same time through terminals |
| Real-time | Strict deadlines | Must respond within a fixed time, as in industrial control or flight systems |
| Single user | One user, one task | Simple systems for one person |
Worked examples
Example 1. An operating system in a machine that must react to a sensor within a few milliseconds. Which type? Real-time.
Example 2. A university server lets 40 students log in together and use it at once. Which type? Multiuser.
Batch = no interaction. Multiuser = many users. Multitasking = many programs. Real-time = deadlines.
Key takeaways: remember one keyword per type and you can answer from the question's wording.
Check your understanding
-
1. Which OS type is identified by the keyword 'no interaction'?
- Batch
- Multitasking
- Multiuser
- Real-time
Show answer
Answer: A. A batch OS collects similar jobs and runs them as a group without user interaction.
-
2. An OS in a machine must react to a sensor within a few milliseconds. Which type?
- Single user
- Real-time
- Batch
- Multiuser
Show answer
Answer: B. Strict deadlines are the keyword for a real-time OS.
-
3. A university server lets 40 students log in and use it at the same time. Which type?
- Real-time
- Batch
- Single user
- Multiuser
Show answer
Answer: D. Several users using the same computer at once through terminals is multiuser.
-
4. Running a browser and a music player together on one PC shows
- Real-time processing
- Multiuser operation
- Multitasking
- Batch processing
Show answer
Answer: C. One user running several programs seemingly together is multitasking.
-
5. Which keyword describes multiprogramming?
- Keep the CPU busy
- Many users
- Strict deadlines
- No interaction
Show answer
Answer: A. Several programs are kept in memory and the CPU switches when one waits, so it stays busy.
Sign in to keep track of the lessons you finish.