Launch sale 50% off every pass

See plans

Operating systems

Operating systems is a named subject in every CS degree and a standard round in campus placement interviews, and the questions test whether you understand the mechanism behind each definition. This course explains how the kernel shares one machine among many programs, and works the scheduling, deadlock, paging and page-replacement problems step by step.

8 lessons119 minUpdated 28 Oct 2026

Start the course

Lessons

  1. Processes and the kernel

    What a process is, how the kernel tracks it, how system calls cross into kernel mode, and how fork, exec, wait and context switches work.

    13 minFree
  2. Threads and race conditions

    Threads against processes, what threads share, kernel and user threads, and a race condition traced instruction by instruction.

    12 minInterview Prep pass
  3. CPU scheduling with Gantt-chart numericals

    FCFS, SJF, SRTF, priority with aging, round robin, MLFQ and Linux’s EEVDF, with waiting and turnaround times worked out.

    16 minInterview Prep pass
  4. Synchronization: locks, semaphores and monitors

    Critical sections, Peterson’s algorithm, atomic instructions, spinlocks and mutexes, semaphores, condition variables and the three classic problems.

    16 minInterview Prep pass
  5. Deadlocks and the Banker’s algorithm

    The four Coffman conditions, resource-allocation graphs, prevention, avoidance with a worked Banker’s example, detection and recovery.

    15 minInterview Prep pass
  6. Memory management: segmentation, paging and the TLB

    Address translation from base and bounds to multi-level page tables, the TLB and fragmentation, with the arithmetic worked through.

    14 minInterview Prep pass
  7. Virtual memory and page replacement

    Demand paging and page faults, FIFO, Optimal, LRU and Clock on one reference string, Belady’s anomaly, thrashing and the working set.

    15 minInterview Prep pass
  8. File systems, journaling and I/O

    Files, directories and inodes, allocation methods, free-space bitmaps, crash consistency with journaling, disk scheduling and the page cache.

    18 minInterview Prep pass

Interview Prep pass · Compare plans

Esc
↑↓Move ↵Open Ctrl↵New tab >Actions ?Shortcuts

Keyboard shortcuts

Anywhere

Open search
CtrlKor /
Show these shortcuts
?
Close a window or menu
Esc

In search

Move through results
↑or ↓
Open the result
↵
Open in a new tab, or a problem on its judge
Ctrl↵
List actions only
>
Remove the filter
⌫

Go to

Learn
GthenL
Practice
GthenP
Assessments
GthenA
System design
GthenS
Companies
GthenC
My profile
GthenM
Today's quest
GthenT
Home
GthenH

Report a bug

Page