Operating Systems
68 articles in this topic
Directory Structure in Operating Systems: Paths, Links and a Worked Example
Build a clean mental model of directories, resolve absolute and relative paths step by step, and see what hard links, symbolic links and unlink operations really change.
Communication Protocols in Operating Systems and Distributed Systems: IPC, RPC and a Worked Reliability Trace
Separate OS communication mechanisms from protocol guarantees, then trace how a lost reply, a retry, and request-ID deduplication affect server state.
SJF and SRTF Scheduling: Concepts, Gantt Charts and Worked Examples
Learn how non-preemptive SJF and preemptive SRTF schedule the same four processes, then calculate CT, TAT and WT while avoiding arrival, tie and Gantt-chart traps.
Priority Scheduling in Operating Systems: Preemptive and Non-Preemptive Worked Examples
Trace one five-process workload under both priority scheduling variants, calculate every key metric, and see how ageing prevents starvation.
Multilevel Queue Scheduling: Concepts, Worked Examples and GATE Exam Patterns
Learn to separate queue selection from local scheduling, trace MLQ and MLFQ examples, calculate waiting time correctly, and spot rule changes that alter the chart.
LJF and HRRN CPU Scheduling: Worked Gantt Charts, Formula and Exam Traps
Solve one five-process data set under non-preemptive LJF and HRRN, then compare every completion, turnaround, and waiting time.
FCFS and SSTF Disk Scheduling: Worked Examples and Exam Traps
Trace FCFS and SSTF on the same queue, compare 640 with 236 cylinders, and learn how to handle ties, arrivals, starvation and common traps.
FCFS Scheduling: Gantt Charts, Waiting Time and Exam Traps
Learn FCFS scheduling through a four-process trace, a complete metric table, convoy-effect reasoning, and checks for idle time, ties and context switches.
Deadlock Detection and Recovery in Operating Systems: Algorithms, Worked Examples and GATE Traps
Learn when deadlock detection applies, trace single-instance and multiple-instance examples, and verify that a recovery choice really frees the system.
Deadlock Prevention in Operating Systems: Conditions, Policies and Worked Examples
Learn how each deadlock-prevention policy breaks a Coffman condition. Worked printer, buffer, allocation and resource-ordering traces show the guarantee and its cost.
CPU Scheduling Basics and Criteria: Metrics, Trade-offs and Worked Examples
Learn how the ready queue, scheduler and dispatcher shape a CPU timeline, then calculate CT, TAT, WT and RT for FCFS and Round Robin on the same process set.
Deadlock in Operating Systems: Four Conditions and Worked Resource-Allocation Graphs
Learn why a cycle proves deadlock only for single-instance resource types, then trace a three-process deadlock and a multiple-instance escape sequence.













