📌 Operating System (OS) – Summary Notes
1. Definition: An OS is system software that manages hardware and software
resources.
2. Types of OS:
- Batch OS
- Time-sharing OS
- Distributed OS
- Real-time OS
3. Functions:
- Process Management
- Memory Management
- File System Management
- Device Management
4. Process States:
- New → Ready → Running → Waiting → Terminated
5. Scheduling Algorithms:
- FCFS, SJF, Round Robin, Priority Scheduling
6. Deadlock:
- Conditions: Mutual exclusion, Hold & wait, No preemption, Circular wait
- Avoidance: Banker's Algorithm