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

How Computers Work

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

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

Your certificate for this course

Finish the 11 lessons (about 2 h 25 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

  • Describe the input-process-output-storage model and the stored-program idea
  • Convert numbers between binary, decimal and hexadecimal and explain bits, bytes and size prefixes
  • Calculate the size of uncompressed text, images and audio from their encoding
  • Evaluate logic gate expressions and explain how gates form adders and memory
  • Trace the fetch-decode-execute cycle and compare processors using clock speed, IPC and cores
  • Explain the memory hierarchy, cache hits and misses, and the difference between memory and storage
  • Describe how compilers, interpreters, the boot process and the operating system turn code into running programs
  • Follow data through interrupts, buses and network packets

About this course

You use computers all day, but what is actually going on inside one? This free course opens the box and explains it layer by layer, from single bits all the way up to the apps on your screen, without assuming any electronics or programming background.

You'll start with bits and binary: why computers use only ones and zeros, how to convert between binary, decimal and hexadecimal, and how text, images and sound become numbers, with real file-size math. Next you'll meet transistors and logic gates, read truth tables, and see how a few gates add binary numbers and how a loop of gates remembers a bit.

Then you'll step inside the processor. You'll trace a program through the fetch-decode-execute cycle, find out why clock speed alone doesn't decide performance, and see how pipelining, multiple cores and GPUs speed things up. The memory and storage module explains why computers use a hierarchy from registers and caches to RAM and SSDs, how caches exploit locality, what happens when RAM runs out, and how file systems organize your files.

Finally, you'll follow code from a high-level language to machine instructions, watch a computer boot from power button to desktop, learn what the operating system does for every app, and trace a keypress and a web page through buses, interrupts and network packets.

The course suits high school and college students, career changers heading into tech, and anyone curious about the machines they rely on. Every lesson mixes short explanations with calculators, sorting tasks and quick checks. Pass the final exam to earn a free certificate of completion.

Syllabus

  1. Bits, Binary and Data

    See what a computer actually does, then learn how ones and zeros represent numbers, text, images and sound.

    1. What a Computer Really Does12 min
    2. Binary Numbers and Bytes13 min
    3. Representing Text, Images and Sound14 min
  2. Logic Gates and Circuits

    Go from transistors to logic gates, then build circuits that add numbers and remember bits.

    1. Transistors and Logic Gates13 min
    2. From Gates to Adders and Memory13 min
  3. The Processor

    Look inside the CPU, follow the fetch-decode-execute cycle, and learn what really makes one processor faster than another.

    1. Inside the CPU: Fetch, Decode, Execute14 min
    2. Machine Code and Performance13 min
  4. Memory and Storage

    Understand why memory comes in layers, how caches exploit locality, and how SSDs, hard drives and file systems keep your data.

    1. The Memory Hierarchy13 min
    2. Storage Devices and File Systems13 min
  5. Software, Startup and Connections

    Follow code from source to running program, see what the operating system does from power-on onward, and trace how devices and networks move data.

    1. From Code to a Running Program14 min
    2. Input, Output and Networks13 min
  6. Final exam and certificate

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

Try a sample question

In a stored-program computer, instructions and data are kept in the same memory, both encoded as numbers.

True or false?

Show the answer

Answer: True

That is the heart of the von Neumann design. An instruction is just a number the CPU interprets as a command. Because programs live in ordinary memory, changing what a computer does means loading different numbers, not rewiring the hardware.

Bit
A binary digit, 0 or 1; the smallest unit of information.
Byte
A group of 8 bits, able to represent 256 different values.
Binary
The base-2 number system, using only the digits 0 and 1.
Hexadecimal
The base-16 number system, using 0–9 and A–F; each digit stands for four bits.
Encoding
An agreed rule for representing information such as text, color or sound as numbers.
Unicode
A standard that gives every character in every writing system a unique number called a code point.

Frequently asked questions

Do I need to know programming or electronics?

No. The course starts from what a bit is and builds up step by step. A few examples show short code or assembly instructions, but you only need to follow the logic, not write programs.

Why do computers use binary instead of decimal?

Electronic circuits can tell two states apart, such as high and low voltage, much more reliably than ten. Two-state switches are also simpler, smaller and faster to build, and any number or symbol can be represented with enough bits.

Is a higher GHz processor always faster?

No. Real speed depends on clock speed multiplied by how many instructions each cycle completes (IPC), plus how many cores the software can use, cache sizes and power limits. A modern 3 GHz chip often beats an older 4 GHz chip.

What is the difference between RAM and storage?

RAM is fast, temporary working memory that empties when power is off. Storage, such as an SSD or hard drive, keeps files and apps permanently but is much slower. Running out of RAM slows a computer down; running out of storage stops you saving files.

Why does my 1 TB drive show only about 931 GB?

Drive makers use decimal units, where 1 TB is 1012 bytes. Some operating systems divide by powers of 1,024 instead and still label the result GB. 1012 bytes is about 931 GiB, so nothing is missing.

Is this course useful for a computer science degree?

Yes, as a foundation. It covers the core ideas of introductory computer architecture and systems courses at a beginner level, which makes later courses on operating systems, programming and networking easier to follow.

Is the certificate an accredited qualification?

No. It is a certificate of completion showing you finished the course and passed the exam. It demonstrates initiative but is not an academic or professional credential.

Sources and further reading

Related courses

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
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
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 studentsIntermediate

Object-Oriented Programming

Classes, encapsulation, inheritance, polymorphism and SOLID design

Technology & Programming
2 h 40 min12 lessonsCertificate
University studentsIntermediate

Operating Systems Concepts

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

Technology & Programming
2 h 50 min11 lessonsCertificate