Study
All courses
CSC-308 Computer Science · 300 levelInformation Technology · 300 level

Operating Systems

Processes, scheduling, deadlocks, virtual memory, file systems, security, and Linux system programming

6 units · 18 lessons · about 4 hours of reading

Start the course First: OS Purpose, Views and Evolution

The route

Lessons are in the order that makes each one easier than the last. Each unit ends with a short quiz.

  1. 0/3
    Unit 1

    OS Foundations, Types and Kernel Architecture

    OS purpose, batch/time-sharing/real-time/distributed/mobile systems, dual-mode protection, and kernel designs.
    1. OS Purpose, Views and EvolutionFree Bridging raw interrupt-driven hardware and user applications from Batch jobs to Time-Sharing. 12 min
    2. OS Types, Distributed and Mobile Systems Real-time deadlines, shared-memory cores, networked clusters and mobile batteries each pull the design of the kernel in a different direction. 12 min
    3. Dual-Mode Protection, System Calls and Kernel Designs Hardware privilege rings, portable system-call APIs, and Monolithic vs Microkernel trade-offs. 14 min
    4. Unit 1 quiz5 questions on this unit 6 min
  2. 0/3
    Unit 2 Full plan

    Processes, Threads and CPU Scheduling

    Process states and PCB, context switching, user vs kernel threads, and FCFS/SJF/Priority/RR scheduling.
    1. Process Concept, States and Process Control Block A program is a passive file on disk; a process is one of those files in execution, tracked by a PCB as it moves through five states. 13 min
    2. Threads and Multithreading Models Lightweight concurrency sharing address space while isolating per-thread execution stacks and registers. 12 min
    3. CPU Scheduling Criteria and Algorithms Gantt-chart trade-offs across FCFS, SJF/SRTF, Priority Aging, and Round Robin time slicing. 15 min
    4. Unit 2 quiz6 questions on this unit 8 min
  3. 0/3
    Unit 3 Full plan

    Process Synchronisation and Deadlocks

    Critical sections, mutexes, semaphores, classic & distributed sync, Coffman conditions, and Banker's algorithm.
    1. Critical Sections, Mutex Locks and Semaphores Preventing race conditions with atomic hardware primitives, mutexes, semaphores, and monitors. 14 min
    2. Classic Synchronisation and Distributed Coordination Solving Producer-Consumer, Readers-Writers, Dining Philosophers, and distributed consensus. 14 min
    3. Deadlocks, Banker's Algorithm and Recovery Coffman's four necessary conditions, Resource-Allocation Graphs, and Banker's Safe-State avoidance. 10 min
    4. Unit 3 quiz6 questions on this unit 8 min
  4. 0/3
    Unit 4 Full plan

    Main Memory and Virtual Memory Management

    First/Best/Worst-Fit, fragmentation, segmentation, paging & TLB, demand paging, LRU/OPT/FIFO, and thrashing.
    1. Contiguous Allocation, Fragmentation and Segmentation First-Fit vs Best-Fit vs Worst-Fit memory partitions, fragmentation types, and segment tables. 13 min
    2. Paging, Page Tables and Translation Lookaside Buffer Eliminating external fragmentation with equal-sized Pages and Frames accelerated by the TLB. 14 min
    3. Virtual Memory, Page Replacement and Thrashing Demand paging faults, FIFO vs Optimal vs LRU eviction traces, and Working-Set thrashing prevention. 15 min
    4. Unit 4 quiz7 questions on this unit 9 min
  5. 0/3
    Unit 5 Full plan

    File Systems, Disk Scheduling, I/O and Security

    File allocation (Contiguous, Linked, Indexed), disk scheduling (SSTF/SCAN/C-SCAN), DMA, protection & fault tolerance.
    1. File Systems, Directories and Disk Allocation Methods Directory trees, UNIX i-nodes, and Contiguous vs Linked vs Indexed file block allocation. 13 min
    2. Disk Scheduling and I/O Hardware Architecture DMA block transfers and minimising HDD head seek time across FCFS, SSTF, SCAN, and C-SCAN. 14 min
    3. OS Security, Protection and Fault Tolerance Least Privilege, ACLs vs Capability Lists, exploit defences, RAID arrays, and crash-safe journaling. 13 min
    4. Unit 5 quiz6 questions on this unit 8 min
  6. 0/3
    Unit 6 Full plan

    Linux Commands, C/POSIX IPC Labs and Synthesis

    Unix commands and grep/sed/awk, C fork/shared-memory/mailbox IPC, teaching OS, and full-course synthesis.
    1. Linux Shell, Permissions and Text-Processing Filters File permissions via chmod, process inspection, pipes, grep, sed, and awk. 13 min
    2. C System Programming, IPC and Teaching Operating Systems POSIX fork/exec/wait process trees, Shared Memory vs Mailboxes, and teaching OS simulators. 14 min
    3. Operating Systems Course Synthesis Connecting dual-mode kernels, scheduling, Banker's safety, TLB paging, SCAN disks, and Linux IPC. 13 min
    4. Unit 6 quiz6 questions on this unit 8 min

Practise and remember