Operating Systems
What the OS is actually doing while your C program runs
6 lessons · 1.2 hours of reading
· Intermediate · 3 free
Processes, threads, scheduling, deadlock, paging and file systems, taught with real C programs and worked numeric examples. Built for the semester exam and for actually understanding your machine.
Lessons
1
What an OS actually does, and what a system call is
The OS as a resource manager and a protection boundary, and the exact moment your program crosses it.
2
Processes vs threads, with a fork() example
What a process owns, what a thread shares, and why fork() returns twice.
3
CPU scheduling with worked FCFS, SJF and Round Robin numbers
The same four processes run through three algorithms, with every number computed by hand.
4
Deadlock: the four conditions and how to break them
A C program that deadlocks on purpose, the four necessary conditions, and the practical fix.
5
Memory: paging, virtual memory and page faults
Address translation with real hex numbers, and FIFO versus LRU counted out on a reference string.
6
File systems and how a file is really stored
Inodes, block pointers, directories as tables, and why deleting a file does not erase it.
Lessons 4 to 6 need a Pro pass
A pass also opens every other course's paid lessons, all 50 mock test papers and the company-wise test series. It ends on its own date — nothing renews by itself and nothing is charged without you pressing a button.
See passes — from ₹29