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.

Updated 10 Nov 20266 min readOperating Systems

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.

Updated 9 Nov 20266 min readOperating Systems

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.

Updated 8 Nov 20265 min readOperating Systems

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.

Updated 7 Nov 20266 min readOperating Systems

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.

Updated 5 Nov 20266 min readOperating Systems

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.

Updated 4 Nov 20266 min readOperating Systems

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.

Updated 3 Nov 20265 min readOperating Systems

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.

Updated 2 Nov 20265 min readOperating Systems

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.

Updated 1 Nov 20266 min readOperating Systems

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.

Updated 31 Oct 20266 min readOperating Systems

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.

Updated 29 Oct 20265 min readOperating Systems

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.

Updated 28 Oct 20266 min read50 viewsOperating Systems