Operating System – B.
Tech Quick Revision Notes
Table of Contents
1. Introduction to Operating Systems
2. Process Management
3. Memory Management
4. Deadlocks
5. File Systems
6. Sample Questions for Practice
1. Introduction to Operating Systems
An Operating System (OS) is system software that manages computer hardware and software
resources.
It acts as an interface between the user and the hardware.
2. Process Management
A process is an executing program.
Scheduling algorithms: FCFS, SJF, Round Robin, Priority Scheduling.
3. Memory Management
Techniques: Paging, Segmentation, Virtual Memory.
Page replacement algorithms: FIFO, LRU, Optimal.
4. Deadlocks
A deadlock occurs when two or more processes wait indefinitely for resources.
Prevention, avoidance (Banker's Algorithm), and detection methods.
5. File Systems
Manages how data is stored and retrieved.
Directory structures: Single-level, Two-level, Hierarchical.
6. Sample Questions for Practice
Q1: Explain the difference between process and thread.
Q2: Describe the working of the Banker's Algorithm.
Q3: List and explain different page replacement algorithms.