Find a course
Age level: University students (18–25)IntermediateTechnology & Programming

Operating Systems Concepts

Processes, threads, scheduling, memory, file systems and protection explained

⏱ 2 h 50 min5 modules · 11 lessons64 practice questionsFinal exam: 20 questions
Included with this course

Your certificate for this course

Finish the 11 lessons (about 2 h 50 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.

  • Your name and this course titlePrinted in classic diploma typography
  • Grade: Pass, Merit or DistinctionOn the gold seal, with your final score
  • Unique ID and QR codeAnyone can verify it in seconds
  • Score report PDFModule-by-module results and exam score
  1. Lessons11 lessons
  2. Final exam20 questions · 70% to pass
  3. CertificatePDF + score report

What you will learn

  • Explain kernel and user mode, system calls, interrupts and the trade-offs between kernel designs
  • Describe process memory layout, process states, context switches and the fork-exec-wait pattern
  • Compare threads and processes and apply Amdahl's law to estimate parallel speedup
  • Calculate waiting and turnaround times under FCFS, SJF, round robin and priority scheduling
  • Identify race conditions and protect critical sections with mutexes and semaphores
  • Recognize the four deadlock conditions and choose a prevention, avoidance or detection strategy
  • Translate virtual addresses with page tables, estimate effective access time and simulate page replacement
  • Explain inodes, links, journaling, Unix permissions, sandboxing, virtual machines and containers

About this course

Every app you run depends on an operating system that quietly shares one machine among hundreds of programs, keeps them from trampling each other, and turns raw disk blocks into files. This free course explains how it does that, at the level of a first university operating systems course, with worked numbers instead of hand-waving.

You'll start with the foundations: the OS as abstraction layer and resource manager, kernel mode versus user mode, system calls, interrupts and exceptions, and how monolithic kernels differ from microkernels. Then you'll study processes and threads: address space layout, process states and context switches, fork and exec, why threads are cheaper than processes, and the difference between concurrency and parallelism. You'll calculate waiting and turnaround times for CPU scheduling algorithms including FCFS, shortest job first, round robin and multilevel feedback queues.

The synchronization module shows why counter++ breaks with two threads, and how mutexes, semaphores and atomic instructions fix it, then covers the four conditions for deadlock and how to prevent, avoid or recover from it. In memory management, you'll translate virtual addresses through page tables, measure the effect of the TLB, handle page faults, and compare FIFO, LRU and optimal replacement. Finally you'll look at file systems, inodes, links and journaling, then Unix permissions, least privilege, sandboxes, virtual machines and containers.

The course suits computer science students, self-taught programmers and IT professionals who want to understand what's happening beneath their code. You should already know what a CPU, RAM and a program are. Every lesson combines short explanations with calculators, scenarios and graded practice, and passing the final exam earns you a free certificate of completion.

Syllabus

  1. What an Operating System Does

    Learn the two jobs of every operating system, the line between kernel and user mode, and how interrupts and system calls let programs request services.

    1. The Role of the Operating System15 min
    2. Interrupts, Exceptions and Kernel Designs14 min
  2. Processes, Threads and Scheduling

    Understand processes and their life cycle, how threads share a process, and how the scheduler decides who runs next.

    1. Processes and Their Life Cycle15 min
    2. Threads and Concurrency14 min
    3. CPU Scheduling16 min
  3. Synchronization and Deadlock

    See why shared data breaks under concurrency, how locks and semaphores fix it, and how to recognize, prevent and recover from deadlock.

    1. Race Conditions, Mutexes and Semaphores16 min
    2. Deadlock and How to Handle It15 min
  4. Memory Management

    Learn how virtual memory gives every process its own address space, how paging translates addresses, and what happens on a page fault.

    1. Virtual Memory and Paging16 min
    2. Page Faults, Replacement and Thrashing16 min
  5. File Systems, Protection and Virtualization

    See how file systems organize data and survive crashes, how permissions protect it, and how virtual machines and containers isolate whole systems.

    1. File Systems: Inodes, Directories and Journaling16 min
    2. Protection, Security and Virtualization16 min
  6. Final exam and certificate

    20 questions drawn from a pool of 32. Score 70% or more to pass; retakes get a fresh set of questions.

Try a sample question

A program running in user mode can switch the CPU into kernel mode by executing an instruction that jumps directly to any address inside the kernel.

True or false?

Show the answer

Answer: False

User code can only enter the kernel through controlled entry points: a system call instruction, an interrupt or an exception, each of which jumps to a handler address the kernel registered in advance. Jumping to an arbitrary kernel address is blocked by memory protection, because kernel memory isn't accessible from user mode.

Kernel
The core of the operating system, running in kernel mode and managing processes, memory, files and devices.
Kernel mode
A privileged CPU mode in which all instructions and all memory are accessible.
User mode
A restricted CPU mode for applications, where privileged instructions are blocked.
System call
A controlled request from a program to the kernel, such as open, read or fork.
Interrupt
A signal from hardware that makes the CPU pause and run a kernel handler.
Exception
An event caused by the current instruction, such as division by zero or a page fault.

Frequently asked questions

What's the difference between a process and a thread?

A process is a running program with its own private address space and resources. A thread is a sequence of execution inside a process. Threads in the same process share memory and open files but each has its own registers and stack, which makes them cheaper to create and switch but less isolated.

Do I need to know C to take this course?

No. A few examples show short pseudocode or C-style calls such as fork() and read() to make ideas concrete, but you only need to follow the logic. Knowing any programming language makes the synchronization lessons easier.

Which operating system does the course use?

The concepts apply to all modern systems. Examples lean on Linux and Unix because their interfaces are well documented and widely taught, with notes on how Windows and macOS do things differently.

What is virtual memory in simple terms?

It's a layer of address translation. Each process uses its own virtual addresses, and the hardware maps them to physical RAM through page tables kept by the OS. This isolates processes, lets programs use more memory than is physically present, and allows memory sharing and protection.

Why is deadlock hard to fix?

A deadlock only happens with a particular timing of threads, so it may appear rarely and disappear when you try to debug it. The reliable fix is structural, such as always acquiring locks in the same global order, rather than adjusting timing.

Is this course enough to pass a university OS exam?

It covers the core topics of an introductory operating systems course at a conceptual level, with practice calculations. University courses usually add programming projects and more depth, so treat this as a strong foundation or a review.

Is the certificate an accredited qualification?

No. It's a certificate of completion showing that you finished the course and passed the final exam. It shows initiative, but it isn't an academic credit or professional credential.

Sources and further reading

Related courses

University studentsIntermediate

Data Structures and Algorithms

Big O, arrays, hash tables, trees, graphs, sorting and dynamic programming with hands-on code

Technology & Programming
2 h 40 min13 lessonsCertificate
University studentsBeginner

Introduction to Computer Science

Binary, hardware, algorithms, code and the internet: the ideas behind every computer

Technology & Programming
2 h 35 min12 lessonsCertificate
University studentsIntermediate

Object-Oriented Programming

Classes, encapsulation, inheritance, polymorphism and SOLID design

Technology & Programming
2 h 40 min12 lessonsCertificate
University studentsBeginner

How Computers Work

From bits and logic gates to processors, memory and the operating system

Technology & Programming
2 h 25 min11 lessonsCertificate
TeensBeginner

Computer Science Principles

Data, algorithms, the internet and the impact of computing, the big ideas of CS

Technology & Programming
1 h 55 min11 lessonsCertificate
TeensBeginner

Binary and Number Systems

Count, convert and calculate in binary, hexadecimal and octal like a computer

Technology & Programming
1 h 50 min11 lessonsCertificate