Operating Systems — History, Types & Major Players
Free study material · concepts, shortcuts & solved questions
An operating system is the invisible conductor orchestrating everything on your computer. It's the intermediary between you (user) and the machine (hardware). Without an OS, your computer is just plastic and silicon—a sophisticated paperweight. This chapter explores operating systems, their evolution, and why there are so many competing platforms.
What Is an Operating System? The Definition
An Operating System (OS) is a system software that:
- Manages hardware resources (CPU, memory, disk, peripherals)
- Provides user interface (command line or graphical)
- Runs applications (manages program execution)
- Ensures security (protects files, separates processes)
- Handles file management (organizes data on disk)
[Analogy] If a computer is a restaurant:
- Hardware = The building, kitchen, tables, ovens (physical infrastructure)
- Operating System = The manager (coordinates chefs, servers, customers)
- Applications = Individual restaurants (each serves a function)
- You = The customer (gives orders through the manager)
Without the manager (OS), the restaurant (computer) is chaos.
The Kernel: The Heart of the OS
The kernel is the core of every operating system. It directly controls hardware and provides essential services.
Kernel Responsibilities:
- Process Management: Which program gets CPU time?
- Memory Management: Who gets RAM space?
- Device Management: Coordinate with printers, disks, networks
- File System Management: Organize data on disks
- Security: Prevent unauthorized access
Different OS architectures have different kernel designs:
- Monolithic Kernel (Windows, Linux): All kernel services in one program
- Microkernel (macOS, some Unix): Minimal kernel, services run separately
- Hybrid Kernel (modern Windows): Mix of both approaches
[Exam Trap] "What is the kernel?" Answer: The core of the OS that directly manages hardware resources, not the entire operating system.
The Evolution of Operating Systems
Operating systems have evolved through distinct eras. Understanding this timeline is critical for competitive exams.
The Prehistory: Before 1970s (Batch Processing)
Before personal computers, computers were massive machines. Programs ran one at a time (batch processing):
- UNIVAC I (1951): First commercial computer
- IBM System 360 (1964): Pioneered batch operating systems
- Users didn't interact directly — They submitted job cards (punch cards), waited hours for results
Problem: CPU sat idle while waiting for slow disk I/O. Wasteful.
Era 1: Mainframe Operating Systems (1970s)
Mainframe OSes solved the idle-CPU problem through multiprogramming — multiple programs sharing CPU time by taking turns.
Key Players:
- UNIX (1970, Bell Labs) — Portable, elegant, multi-user
- MVS (IBM) — Powerful mainframe OS
- VMS (DEC) — Reliable, security-focused
Characteristics:
- Text-based interface (command line)
- Multiple users on one machine (time-sharing)
- Powerful but complex
Era 2: Personal Computer Era (1980s)
Personal computers exploded. Users wanted their own machines with simple interfaces.
DOS (Disk Operating System) — 1981
Microsoft released DOS for IBM PC, dominating the 1980s.
Characteristics:
- Interface: Command-line only (text-based)
- Single-user, single-task: Only one program at a time
- Commands: DIR (list files), COPY, DEL (delete)
- Limitation: 640 KB memory limit (a huge constraint!)
DOS Command Examples:
C:\> DIR (list files)
C:\> COPY A: B: (copy from floppy to floppy)
C:\> FORMAT A: (erase floppy disk)
[Memory Hook] "DOS = Text Only" — No pictures, no mouse. Just typed commands.
Macintosh Operating System (System) — 1984
Apple released the Macintosh with a revolutionary graphical user interface (GUI).
The 1984 Moment:
- First commercially successful GUI (not technically the first, but the first mass-market success)
- Famous "1984" commercial showing someone throwing a hammer at a screen (representing breaking free from IBM/PC dominance)
- Features: Windows, folders, icons, mouse
Why It Mattered:
- Computers became accessible to non-technical users
- GUI became the standard (not command-line)
- Apple's GUI was so good, Microsoft copied it
[Real-World Impact] If not for Mac's GUI, we'd still be typing C:\>ECHO HELLO on Windows instead of clicking icons.
Windows 1.0 — 1985
Microsoft released Windows 1.0 as a GUI on top of DOS. It was... not great. Slow and clunky.
Why Users Adopted It: IBM PCs were cheaper than Macs, and Windows eventually became competitive.
Era 3: Modern GUI Operating Systems (1990s-2000s)
Windows 3.x (1990-1994)
- Improved GUI (stole ideas from Mac)
- Ran applications like Word and Excel
- Dominated business
Windows 95 (1995)
- A watershed moment for consumer computing
- 32-bit architecture (64x more memory addressable than DOS's 640 KB)
- Built-in networking and Internet support
- Familiar "Start Button" and taskbar
- First truly mass-market OS
Windows 98, XP, Vista, 7, 8, 10, 11
- Continuous evolution of the Windows ecosystem
- Each iteration more stable, powerful, and bloated
Linux (1991-Present)
Linus Torvalds created Linux as a free, open-source Unix clone. It's now everywhere:
- Servers: Power ~90% of web servers
- Smartphones: Android is Linux-based
- Embedded devices: Routers, smart TVs, IoT devices
- Supercomputers: Most supercomputers run Linux
Why Linux?
- Free (no licensing cost)
- Open-source (anyone can inspect code)
- Stable and secure
- Multitasking and multi-user
- Portable (runs on everything from Raspberry Pi to supercomputers)
[Memory Hook] "Linux = Free, Open, Everywhere" — It's the OS that doesn't shout about itself but powers the internet.
macOS (1984-Present)
Apple's operating system for Macintosh computers. Based on UNIX, it combines power with elegance.
Versions: Mac OS X, macOS Sierra, Big Sur, Monterey, Ventura, Sonoma
User Base: Premium market (expensive hardware), highly loyal users, creative professionals (video/photo editing).
Era 4: Mobile Operating Systems (2007-Present)
Smartphones launched a new era.
iOS (2007)
- Apple's mobile OS for iPhone
- Closed ecosystem (you only get what Apple provides)
- Very secure, minimal malware
- User base: Premium market (expensive iPhones)
Android (2008)
- Google's mobile OS (based on Linux)
- Open ecosystem (customizable, multiple manufacturers)
- Market leader (>70% global market share)
- User base: Everyone else (affordable phones)
[Real-World Context] Your smartphone is running a full operating system—not just an "app." It manages:
- Battery (power management)
- Network (WiFi, cellular)
- Security (app permissions)
- Storage (photos, apps, data)
iOS and Android are as complex as Windows, just optimized for smaller screens and touch input.
Era 5: Emerging (2020s+)
Cloud Operating Systems:
- ChromeOS (Google): Essentially a web browser with an OS
- Web-based apps instead of local installations
AI-Integrated:
- Next generation OSes will embed AI
- Copilot (Windows 11)
- Apple Intelligence (macOS/iOS)
The Five Major Operating Systems Today
1. Microsoft Windows
Market Share: ~75% of desktops
Characteristics:
- Dominates personal computers and enterprise
- Developed continuously (Windows 11 latest)
- Backward compatible (old programs still run)
- Closed-source (proprietary)
Versions Timeline:
- DOS (1981)
- Windows 1-3.x (1985-1995)
- Windows 95/98/ME (1995-2001)
- Windows XP (2001-2014) — Most stable, lasted 13 years
- Windows Vista (2007) — Unpopular, slow
- Windows 7 (2009-2020) — Popular, stable
- Windows 10 (2015-2025) — Current mainstream
- Windows 11 (2021-present) — Latest, requires TPM 2.0
Used For: Business, gaming, content creation
2. macOS (Apple)
Market Share: ~15% of desktops
Characteristics:
- Premium hardware (expensive)
- UNIX-based kernel (stable)
- Closed-source (proprietary to Apple)
- Excellent for creatives (video, photo, music)
Versions Timeline:
- System 7 (1991) — First GUI
- Mac OS 8/9 (1997-1999) — Pre-UNIX
- Mac OS X 10.0 Cheetah (2001) — UNIX begins
- Mac OS X 10.6 Snow Leopard (2008)
- OS X El Capitan, Sierra (2015-2016)
- macOS Monterey, Ventura, Sonoma, Sequoia (2021-2024)
Used For: Graphic design, video editing, music production, development
3. Linux
Market Share:
- Servers: ~90%
- Desktops: ~3-5% (Ubuntu, Fedora)
- Mobile: ~70% (via Android)
Characteristics:
- Open-source (anyone can modify and distribute)
- Free
- Stable and secure
- Steep learning curve for beginners
Popular Distributions (Distros):
- Ubuntu: User-friendly, most popular desktop
- Fedora: Latest technologies, cutting-edge
- CentOS: Enterprise, stable
- Debian: Stability-focused, basis for Ubuntu
- Red Hat: Enterprise, commercial support
Used For: Servers, supercomputers, developers, Linux enthusiasts
4. iOS (Apple)
Market Share: ~25% of smartphones
Characteristics:
- Mobile OS for iPhone, iPad
- Closed ecosystem (iPhone only)
- Premium pricing
- Excellent security and privacy
Versions: iOS 16, 17, 18 (annual updates)
Used For: iPhone/iPad users, anyone willing to pay premium
5. Android (Google)
Market Share: ~70% of smartphones
Characteristics:
- Mobile OS (based on Linux)
- Open-source
- Used by Samsung, OnePlus, Xiaomi, etc. (many manufacturers)
- Highly customizable
Versions: Android 12, 13, 14, 15 (annual updates)
Used For: Most smartphone users globally
Kernel Concepts Every Exam Taker Must Know
Monolithic Kernel vs. Microkernel
Monolithic Kernel (Linux, Windows)
- All OS services run in kernel mode
- Faster (fewer context switches)
- Less stable (one crash can crash everything)
- Examples: Linux kernel, Windows NT kernel
Microkernel (macOS, QNX)
- Only essential services in kernel (memory, process management)
- Other services run as separate programs
- More stable (services can crash without crashing OS)
- Slower (more communication overhead)
Hybrid Kernel (Modern Windows, modern macOS)
- Combination: critical services in kernel, others outside
- Best of both worlds
Process vs. Thread
Process:
- A running instance of a program
- Has its own memory space
- Isolated from other processes
- Example: Each browser tab is a process in Chrome
Thread:
- A lightweight unit within a process
- Shares memory with other threads in same process
- Context switches are fast
- Example: One thread renders images, another loads data
[Analogy] Process = Separate restaurant. Thread = Different chefs in the same restaurant sharing ingredients.
Deadlock: When Processes Get Stuck
Deadlock occurs when two or more processes wait for each other indefinitely.
Example:
- Process A holds Resource 1, needs Resource 2
- Process B holds Resource 2, needs Resource 1
- Both wait forever
Prevention requires careful resource allocation—an advanced OS topic.
File Systems: How OSes Organize Data
Every OS needs a file system to organize data on disks.
Common File Systems
| File System | OS | Max File Size | Journaling | Security |
|---|---|---|---|---|
| NTFS | Windows | 16 EB | Yes | Good |
| FAT32 | Older Windows, USB | 4 GB | No | Poor |
| APFS | macOS (modern) | 16 EB | Yes | Excellent |
| ext4 | Linux | 16 EB | Yes | Good |
| exFAT | Cross-platform | 16 EB | No | Basic |
[Exam Trap] "Why can't you copy a file >4 GB to a USB drive?" Answer: The USB drive likely uses FAT32, which has a 4 GB file size limit. Format it as NTFS or exFAT to fix it.
Journaling in File Systems
Modern file systems use journaling (like a transaction log):
- Before deleting a file, log the deletion
- If power fails mid-deletion, the log helps recover
- Prevents corruption
The Boot Process: From Power On to Desktop
- Power On: Electricity flows
- BIOS/UEFI runs: Firmware in ROM checks hardware
- Boot Loader: Loads from hard disk into RAM
- Kernel Loads: OS core initializes (memory management starts)
- Drivers Load: Hardware drivers initialize (graphics, network, storage)
- System Services Start: Background services launch
- User Interface: Desktop or login screen appears
- Ready: User can now launch applications
Each step takes seconds. A fast SSD reduces boot time from 30 seconds (HDD) to 5 seconds (SSD).
Real-World OS Choices
For Gaming
- Windows (best game library via Steam)
- PlayStation OS (exclusive AAA games)
- Nintendo OS (exclusive Nintendo games)
For Business
- Windows (Office, industry standards)
- macOS (creative departments, design)
- Linux (servers, backend infrastructure)
For Development
- macOS (popular with developers, UNIX-based)
- Linux (closest to server environment)
- Windows (with WSL2 - Windows Subsystem for Linux)
For Everyday Use
- Windows (familiar, widespread)
- macOS (stable, secure, but expensive)
- Android (most people, via smartphones)
- iOS (premium smartphone users)
23 Multiple-Choice Questions
1. What is the primary function of an operating system?
- A) Execute games and entertainment software
- B) Manage hardware resources and provide a user interface
- C) Store all user data permanently
- D) Replace the CPU
2. The kernel of an operating system is responsible for:
- A) Creating user interfaces
- B) Running all applications
- C) Directly managing hardware resources and core services
- D) Connecting to the internet
3. DOS (Disk Operating System), released in 1981, was primarily a _____ interface operating system.
- A) Graphical User Interface (GUI)
- B) Touch-based
- C) Command-line (text-based)
- D) Voice-based
4. [Exam Trap] Which operating system was the first to successfully introduce a graphical user interface (GUI) to mainstream consumers?
- A) DOS
- B) Windows 1.0
- C) Macintosh (1984)
- D) Linux
5. Linux was created in 1991 by:
- A) Bill Gates
- B) Steve Jobs
- C) Linus Torvalds
- D) Dennis Ritchie
6. [Memory Hook] If DOS used a command-line interface (typing commands), what interface revolution did the Macintosh (1984) introduce?
- A) Voice control
- B) Graphical User Interface (GUI) with windows, icons, and mouse
- C) Touchscreen
- D) Virtual reality
7. The earliest IBM PCs used which operating system?
- A) Windows 1.0
- B) Macintosh
- C) DOS
- D) Linux
8. Windows 95 was a watershed moment in personal computing because it:
- A) Introduced the first computer
- B) Brought 32-bit architecture and user-friendly interface to mass consumers
- C) Made computers free
- D) Eliminated the need for RAM
9. Which of the following operating systems is open-source and free?
- A) Windows
- B) macOS
- C) iOS
- D) Linux
10. [Memory Hook] iOS is to iPhone as _____ is to most other smartphones.
- A) Windows
- B) Android
- C) macOS
- D) Linux (directly)
11. In the hierarchy of smartphone operating systems, which is the most widely used globally?
- A) iOS (Apple)
- B) Android (Google)
- C) Windows Mobile
- D) BlackBerry OS
12. What is the key characteristic of a monolithic kernel?
- A) It runs only one process at a time
- B) All OS services (memory, file systems, device drivers) run in kernel mode
- C) It is only used for mobile devices
- D) It is smaller and faster than any microkernel
13. [Exam Trap] If your computer has a microkernel architecture, what is an advantage over a monolithic kernel?
- A) It's always faster
- B) One service crashing doesn't crash the entire OS
- C) It uses less memory
- D) It's easier to program
14. A process and a thread differ in that:
- A) Processes are faster; threads are slower
- B) A process has its own memory space; threads within a process share memory
- C) Threads are only used in mobile OS; processes in desktop OS
- D) They are the same thing with different names
15. What does NTFS stand for?
- A) New Technology File System
- B) Network Transfer File Service
- C) Never Touchable File Storage
- D) Non-Transferable File System
16. FAT32 file system has a limitation: it cannot store files larger than:
- A) 1 GB
- B) 2 GB
- C) 4 GB
- D) Unlimited (no limit)
17. [Exam Trap] Which of the following is true about file system journaling?
- A) It slows down the computer significantly
- B) It logs transactions before they occur, helping recover from unexpected power loss
- C) It's only available on Apple computers
- D) It makes files more vulnerable to corruption
18. When you turn on a computer, the sequence of operations is:
- A) Kernel loads → BIOS runs → Boot loader → OS starts
- B) BIOS runs → Boot loader → Kernel loads → OS starts
- C) OS starts → Kernel loads → Boot loader → BIOS runs
- D) All happen simultaneously
19. Which operating system is the market leader for server computers (web servers, databases)?
- A) Windows (most servers)
- B) macOS
- C) Linux (~90% market share)
- D) iOS
20. ChromeOS is unique because it:
- A) Uses traditional applications like Windows
- B) Is primarily web-based, treating the browser as the main interface
- C) Only works on iPhones
- D) Is more powerful than Linux
21. [Memory Hook] If you compare an OS to a restaurant, the operating system is like:
- A) The chef (makes food)
- B) The customer (orders food)
- C) The manager (coordinates everything)
- D) The table (holds food)
22. Which operating system is specifically designed for smartphones and uses a Linux-based kernel, yet is open-source?
- A) iOS
- B) Windows Mobile
- C) Android
- D) macOS
23. Deadlock in operating systems occurs when:
- A) A process runs out of memory
- B) Two processes wait for each other indefinitely, each holding a resource the other needs
- C) The CPU overheats
- D) A program crashes unexpectedly
Answer Key: 1-B, 2-C, 3-C, 4-C, 5-C, 6-B, 7-C, 8-B, 9-D, 10-B, 11-B, 12-B, 13-B, 14-B, 15-A, 16-C, 17-B, 18-B, 19-C, 20-B, 21-C, 22-C, 23-B