💻 Operating System (OS) – One Page Summary
📌 Definition:
An Operating System (OS) is system software that acts as an interface between the user and
the computer hardware, and manages hardware, software, files, and processes.
🔧 Main Functions of OS:
1. Process Management – Controls processes (running programs)
2. Memory Management – Allocates and frees memory space
3. File System Management – Manages files and directories
4. Device Management – Manages I/O devices (printers, keyboards)
5. User Interface – Provides CLI or GUI
6. Security & Protection – Prevents unauthorized access
7. Multitasking – Runs multiple programs at once
🧠 Types of Operating Systems:
Type Description Examples
Batch OS Executes batches of jobs Early IBM systems
Time-Sharing OS Allows multiple users simultaneously UNIX
Distributed OS Uses multiple computers as one system Amoeba, LOCUS
Real-Time OS Immediate response to inputs RTLinux, VxWorks
Multi-user OS Supports many users at once Linux, Windows Server
Mobile OS Designed for smartphones/tablets Android, iOS
📦 Common OS Examples:
Windows
Linux (Ubuntu, Fedora)
macOS
Android
iOS
🌀 Key OS Concepts:
Kernel – Core of OS, manages resources
Shell – Interface to communicate with OS (CLI/GUI)
System Calls – Functions to request OS services
Scheduling – Decides the order of process execution
Deadlock – Situation where processes wait forever
🧰 Process Scheduling Algorithms:
Algorithm Description
FCFS First Come First Serve
SJF Shortest Job First
Round Robin Fixed time slots
Priority Based on priority levels
✅ Advantages of OS:
Simplifies user interaction with hardware
Manages hardware efficiently
Provides security and stability
Enables multitasking and resource sharing