Operating System Notes (Easy & Simple for
Exams)
1. Introduction to Operating Systems
An Operating System (OS) is software that acts as a bridge between user and hardware.
It manages all computer resources and provides an environment for running programs.
Main Goals:
- Make system easy to use
- Use hardware efficiently
- Ensure security and stability
Functions: Process, Memory, File, Device, Security, and User Interface Management
Examples: Windows, Linux, macOS, Android
2. Evaluation of OS
Generations:
1st (1940s–50s): No OS, manual operation.
2nd (1950s–60s): Batch Processing System.
3rd (1960s–80s): Multiprogramming, Time-Sharing.
4th (1980s–Now): GUI, Networking (Windows, Linux).
5th (Future): Cloud/AI-based OS (Android, Chrome OS).
3. Types of Operating Systems
- Batch OS – Jobs grouped and executed together.
- Multiprogramming OS – Multiple programs share memory.
- Multitasking OS – Many tasks run at once.
- Time-Sharing OS – Users get time slices (UNIX).
- Distributed OS – Controls multiple systems as one.
- Real-Time OS – Instant response (Air traffic control).
- Network OS – Manages networked computers.
- Mobile OS – For smartphones (Android, iOS).
4. System Protection
Ensures secure and proper use of system resources.
Goals:
- Prevent unauthorized access
- Ensure reliable operation
- Protect data and resources
Techniques: Authentication, Authorization, Encryption, Firewall
5. Operating System Services
- Program Execution
- I/O Operations
- File Management
- Error Detection
- Communication
- Resource Allocation
- Security & Protection
- User Interface (CLI/GUI)
6. Operating System Structure
- Monolithic: All functions in one program (MS-DOS)
- Layered: Divided into layers for clarity
- Microkernel: Core in kernel, others in user mode (Mac OS X)
- Modules: Loadable components (Linux)
7. System Calls and System Boot
System Calls:
Interface between user programs and OS for services.
Types:
- Process Control
- File Management
- Device Management
- Information Maintenance
- Communication
System Boot:
1. Power On
2. POST (hardware check)
3. Bootstrap Loader in ROM runs
4. Kernel loaded into memory
5. OS ready for user
8. OS Design and Implementation
Design Goals:
- User goals: Easy, reliable, safe
- System goals: Fast, flexible, maintainable
Implementation:
- Written in C/C++ or Assembly
- Divided into kernel and system programs
9. Spooling and Buffering
Spooling (Simultaneous Peripheral Operation On-Line):
- Queues data for devices (e.g., printer).
- CPU can continue other work.
Buffering:
- Temporary storage for speed matching.
- Types: Single, Double, Circular Buffering.
10. Quick Revision Table
| Topic | Key Idea |
|-------|-----------|
| OS | Interface between user & hardware |
| Evolution | From batch → GUI → AI |
| Types | Batch, RTOS, Distributed, Mobile |
| Protection | Prevent misuse & unauthorized access |
| Services | Execution, I/O, Security |
| Structure | Monolithic, Layered, Microkernel |
| System Calls | Program ↔ OS communication |
| Booting | Startup of OS |
| Design | Goals & Implementation |
| Spooling | Device job queuing |
| Buffering | Temporary storage |