CODEBHAVYA β€’ CORE COMPUTER SCIENCE

See What Happens between a Program and the Hardware

Learn how an operating system creates processes, shares the CPU, protects memory, stores files and keeps concurrent programs correct.

15 Structured levels
4 Learning stages
8+ Interactive labs
3 System projects
RUNNING APPLICATION
Editor Browser Compiler
open() Β· read() Β· fork() Β· mmap()
KERNEL
Processes Memory Files Devices
CPU RAM DISK I/O
YOUR COURSE CHECKPOINTS

Build Systems Thinking across 15 Levels

Progress is stored only in this browser and does not require sign-in.

0 / 15 levels
0% complete
COMPLETE COURSE ARCHITECTURE

Four Stages from Kernel Foundations to Placement

Follow the sequence because scheduling, synchronization, memory and file systems build on the process model.

01 LEVELS 1–4

Understand Execution

OS purpose, kernels, system calls, processes and threads.

02 LEVELS 5–7

Control Resources

Scheduling, synchronization and deadlock reasoning.

03 LEVELS 8–11

Manage Data

Memory, virtual memory, files, disks and I/O.

04 LEVELS 12–15

Protect & Prove

Security, Linux, virtualization and portfolio projects.

PART 1 β€’ LEVELS 1–4

Execution Foundations

LEVEL 01 βš™

Operating System Foundations

Understand why an OS exists and how it connects applications to hardware.

  • Purpose and responsibilities
  • User and kernel mode
  • Interrupts and traps
  • Boot and service flow
Open full lesson β†’
LEVEL 02 β—Ž

Kernels & System Calls

Compare kernel structures and trace a protected service request.

  • Monolithic and microkernels
  • Layered and modular design
  • APIs versus system calls
  • System-call lifecycle
Open full lesson β†’
LEVEL 03 β–£

Processes & PCB

Trace process creation, states, context switches and termination.

  • Program versus process
  • Process control block
  • State transitions
  • Context-switch cost
Open full lesson β†’
LEVEL 04 ≑

Threads & Concurrency

Share process resources while managing independent execution paths.

  • Thread components
  • User and kernel threads
  • Threading models
  • Concurrency versus parallelism
Open full lesson β†’
PART 2 β€’ LEVELS 5–7

Resource Control

LEVEL 05 βŒ›

CPU Scheduling

Compare algorithms using waiting, turnaround and response time.

  • FCFS, SJF and SRTF
  • Priority scheduling
  • Round Robin
  • Gantt-chart analysis
Open full lesson β†’
LEVEL 06 πŸ”’

Process Synchronization

Protect shared state and prove critical-section correctness.

  • Race conditions
  • Mutexes and semaphores
  • Monitors
  • Classic synchronization problems
Open full lesson β†’
LEVEL 07 ⟳

Deadlocks

Detect cycles and compare prevention, avoidance and recovery.

  • Coffman conditions
  • Resource-allocation graphs
  • Banker’s algorithm
  • Detection and recovery
Open full lesson β†’
PART 3 β€’ LEVELS 8–11

Memory & Storage

LEVEL 08 β–¦

Memory Management

Translate logical addresses and compare allocation strategies.

  • Contiguous allocation
  • Internal/external fragmentation
  • Paging and segmentation
  • Address translation
Open full lesson β†’
LEVEL 09 β—‡

Virtual Memory

Load pages on demand and reason about replacement and thrashing.

  • Demand paging
  • Page-fault handling
  • FIFO, Optimal and LRU
  • Working sets and thrashing
Open full lesson β†’
LEVEL 10 β–€

File Systems

Map names to stored blocks and compare allocation methods.

  • Files and directories
  • Inodes and metadata
  • Allocation methods
  • Free-space management
Open full lesson β†’
LEVEL 11 ↔

I/O & Disk Scheduling

Coordinate devices, interrupts, DMA and storage requests.

  • Drivers and controllers
  • Interrupt and DMA I/O
  • Disk scheduling
  • RAID foundations
Open full lesson β†’
PART 4 β€’ LEVELS 12–16

Systems & Career Readiness

LEVEL 12 πŸ›‘

Protection & Security

Control access to system resources and reduce attack impact.

  • Protection domains
  • ACLs and capabilities
  • Authentication
  • Threats and defenses
Open full lesson β†’
LEVEL 13 >_

Linux & System Programming

Connect OS concepts to commands and small C programs.

  • Shell and process tools
  • fork, exec and wait
  • Pipes and signals
  • File descriptors
Open full lesson β†’
LEVEL 14 β–§

Virtualization & Containers

Compare virtual machines and containers from an OS perspective.

  • Type 1 and Type 2 hypervisors
  • Virtual machines
  • Namespaces and cgroups
  • Cloud resource isolation
Open full lesson β†’
LEVEL 15 β˜…

Projects & Placement

Build visible systems evidence and explain every trade-off.

  • Scheduler simulator
  • Mini shell
  • Memory-management visualizer
  • Interview and viva revision
Open full lesson β†’
LEVEL 16 β˜…

Operating Systems Case Studies

Build reliable real time systems through this applied learning

  • Trace CPU scheduling
  • virtual-memory replacement
  • multi-instance deadlock detection with tested simulators
Explore case studies β†’
LEARN BY OBSERVING STATE

Every Lab Makes Invisible OS Decisions Visible

Trace process states, Gantt charts, locks, page tables, page faults, file blocks and disk-head movement before solving independently.

Begin OS Foundations β†’