- 53lessons
- 5guided projects
- 8module checkpoints
- 2.5hours of video
What you'll learn
- Convert between binary, hexadecimal and decimal and predict the stored bits of integers, UTF-8 text and binary64 values.
- Assemble, run and trace programs on a toy 8-bit machine (OL-8) covering fetch-decode-execute, branches, the call stack and a cache.
- Simulate operating-system duties: system calls, scheduling, locks, deadlock and virtual memory.
- Model files, atomic saves, serialisation, indexes and transactions.
- Deliver a documented, tested system simulator and defend it with predictions and counterexamples.
Skills you'll gain
- Representation
- binary
- Logic
- computation
- CPU
- memory models
- Storage
- files
- Networks
- protocols
- Algorithms
- abstractions
Tools you'll use
- Python 3 and its standard library
- OL-8 toy 8-bit machine
- Loopback sockets
Details to know
- Certificate on completionIssued after your final project is reviewed
- 8 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
- Beginner levelSee what you need before you start, above
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 4 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Bits, logic and the machine
Represent data as bits, build gates and state machines, then run and extend the OL-8 machine.
You build: Bit inspector and the gates-to-machine toolkit.
- 02
Modules 4 to 5
Operating system and storage
Simulate system calls, processes, scheduling and memory, then model files, serialisation and transactions.
You build: Operating-system and storage model with atomic saves under injected crashes.
- 03
Modules 6 to 7
Networks and abstractions
See networking as byte formats and sockets on loopback, then write properties, contracts and a small interpreter.
You build: Networked, tested service layer.
- 04
Module 8
Integrate and defend
Add security basics and integrate everything into a tested system simulator.
You build: System simulator capstone package.
Full curriculum
8 modules and 53 lessons, 32 to 54 hours of study
01Representation and binary7 lessons, 3 to 5 hours
Lessons
- Positional notation in bases 2, 10 and 16
- Fixed-width unsigned integers and wraparound
- Two's complement signed integers
- Bitwise operators, shifts and flag masks
- Characters, Unicode code points and UTF-8 bytes
- Byte order: serialising integers as little- and big-endian bytes
- Floating-point fields: sign, exponent and fraction of a 64-bit double
After this module you can
- Convert non-negative integers between binary, decimal and hexadecimal by place values and repeated division, and confirm each result with int(text, base) and format().
- Predict the stored result of arithmetic in an n-bit unsigned register by reducing modulo 2^n, and implement the mask that Python's unbounded integers lack.
- Decode a 64-bit IEEE 754 binary64 pattern into sign, biased exponent and fraction fields by hand, and compute the value, noting where numerical-error analysis is taught elsewhere.
02Logic and computation6 lessons, 3 to 4 hours
Lessons
- Gates, truth tables and NAND universality
- From gates to arithmetic: half adder, full adder and a ripple-carry adder
- State from feedback: a latch that remembers one bit
- Finite-state machines as transition tables
- A Turing machine: tape, head and rules
- Undecidability: why no program can decide halting for all programs
After this module you can
- Define NOT, AND, OR, XOR and NAND as truth tables, build NOT, AND and OR from NAND gates only, and prove each build by exhausting every input row.
- Build a half adder and full adder from gate functions and chain four full adders into a 4-bit ripple-carry adder whose results match integer addition modulo 16.
- Reproduce the diagonal argument that no total halting decider exists, and implement a step-bounded runner that honestly answers 'halted', 'still running after N steps' or 'unknown'.
03CPU and memory models7 lessons, 3 to 5 hours
Lessons
- The fetch-decode-execute cycle on the OL-8 machine
- Instruction encoding: writing an OL-8 assembler and disassembler
- Memory as an addressable byte array: loads, stores and a memory map
- Branches and loops: translating a while loop to compare-free machine code
- The call stack: CALL, RET, PUSH and POP
- The memory hierarchy: a direct-mapped cache simulator and locality
- From source text to machine behaviour: compiling, interpreting and bytecode
After this module you can
- Single-step an OL-8 program by hand and with a simulator, recording PC, registers, Z flag and output after each instruction, and count the instructions executed.
- Translate OL-8 assembly lines to their two bytes and back, using the nibble layout, and detect malformed lines and illegal opcodes.
- Describe the path from source text to executed behaviour for a compiled language and for CPython, inspect bytecode with dis, and write a tiny compiler from sum-and-difference expressions to OL-8 assembly.
04Operating-system responsibilities7 lessons, 3 to 5 hours
Lessons
- The kernel boundary: user mode, privileged operations and system calls
- Processes: identity, address space and lifecycle states
- CPU scheduling: first-come first-served versus round-robin with waiting-time arithmetic
- Races: lost updates on shared data and the lock that prevents them
- Deadlock: four conditions, wait-for graphs and lock ordering
- Virtual memory: pages, frames and the page table
- Page replacement: FIFO and LRU, and Belady's anomaly
After this module you can
- Classify operations as user-mode computation or kernel services, and build a small kernel object that serves named system calls, rejects unknown ones and refuses direct access to its private tables.
- Describe a process by its id, parent, address space and state, run the five-state lifecycle in a simulator, and show a real child process with its own process id.
- Simulate FIFO and LRU page replacement on a reference string, count page faults, and reproduce the fact that FIFO can fault more with more frames.
05Storage and files7 lessons, 3 to 5 hours
Lessons
- Blocks: how storage hands out space and why small writes cost whole blocks
- File-system structure: directories, names, inodes and hard links
- Files as byte streams: modes, buffering, text encoding and newline translation
- Durability and atomic updates: flush, fsync and replacing a file safely
- Serialisation: JSON, CSV and fixed binary records compared
- Databases overview: tables, indexes and reading a query plan
- Transactions: atomic changes and rollback
After this module you can
- Compute the number of blocks a file occupies and the unused bytes in its last block for a given block size, and count block reads and writes for a one-byte update.
- Model a small file system in which directory entries map names to inode numbers and inodes hold sizes and block lists, and observe real hard links with os.link, st_ino and st_nlink.
- Show with sqlite3 that a two-step transfer either applies both changes or neither, by making the second step fail and observing a rollback.
06Networks and protocols6 lessons, 3 to 4 hours
Lessons
- A protocol is an agreed byte format: length-prefixed frames
- Sockets on the loopback interface: a TCP echo server and partial reads
- Addresses, ports and names as numbers
- Unreliable channels: checksums, acknowledgements and stop-and-wait
- Request and response over loopback: a minimal HTTP exchange
- Serving many clients: one blocking handler versus concurrent handling
After this module you can
- Encode messages as 4-byte big-endian length followed by UTF-8 payload, and decode a byte stream that arrives in arbitrary chunks into whole messages.
- Run a TCP echo server and client on 127.0.0.1 using an operating-system chosen port, exchange framed messages, and handle recv returning fewer bytes than requested.
- Demonstrate that a single-threaded blocking server starves a second client while the first holds its connection, and show a thread-per-connection or selectors-based server serving both, using an event log instead of timings.
07Algorithms and abstractions6 lessons, 3 to 4 hours
Lessons
- Specification before code: properties for a run-length encoder
- Interfaces and information hiding: one contract, two implementations
- Compression: redundancy removed, and why nothing shrinks everything
- State, side effects and pure functions
- A tiny interpreter: tokens, precedence and an evaluator without eval
- Counting memory reads: linear search versus binary search on the toy machine
After this module you can
- State the specification of a run-length encoder as properties (round trip, runs maximal, counts sum to length), write property tests, and use them to reject deliberately buggy encoders.
- Write a contract test suite for a key-value store interface (put, get, delete, len) and show that a list-of-pairs implementation and a dictionary implementation both satisfy it while a supplied faulty third one fails.
- Instrument memory so that every read is counted, then measure the exact worst-case reads of linear and binary search on sorted arrays of 8, 16 and 100 elements and relate the counts to the hand formula.
08Computing-system integration7 lessons, 3 to 5 hours
Lessons
- Security basics: assets, threats, trust boundaries and least privilege
- Hash functions and password storage: digests, salts and slow key derivation
- Untrusted input: SQL injection and path traversal, and the controls that stop them
- How a program runs: tracing a command from the shell to its exit status
- Capstone design: components, interface contracts and trace format for the system simulator
- Capstone build: integrating CPU, kernel, scheduler, storage and checks into one simulator
- Capstone defence: predictions, counterexamples and a documented demonstration
After this module you can
- Build a threat model of a small loopback service by listing assets, entry points and trust boundaries, classify incidents as confidentiality, integrity or availability failures, and propose a least-privilege change for each.
- Compute SHA-256 digests, observe fixed size and the avalanche effect, then store and verify passwords with a random salt and a slow key-derivation function from hashlib.
- Present the simulator, make written predictions for five what-if experiments, run them, record where prediction and observation differ, and list the model's known limits against real systems.
What you'll build
5 guided projects along the way, then a final project.
Bit inspector
after module 1From gates to a working machine
after module 3Operating-system and storage model
after module 5Networked, tested service layer
after module 7System simulator capstone package
after module 8
Final project
Choose one: an OL-8 system simulator with round-robin processes, a storage engine simulator with crash injection, or a secure loopback service stack.
What you submit
Repository or zip with design document, code and tests; supplied scenarios passing with hand-derived expected outputs; persistence and restart evidence; setup instructions.
How it's reviewed
Rubric weighted on correctness (30%), explanation (25%), design (15%), robustness (15%), security basics (10%) and reproducibility (5%), plus a live demonstration predicting and explaining three unseen scenarios and five oral questions.
Where you'll use it
- Explain why a value overflows or a text file shows garbled characters by inspecting its bytes.
- Reason about a race condition or deadlock in a multi-step job and choose a fix.
Roles that use these skills
- Software engineer
- Systems engineer (junior)
- Backend developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
Do I need advanced maths?
No. Only school arithmetic is assumed; Mathematics for Programmers is a companion, not a prerequisite.
What if I am not comfortable with Python yet?
Try the day-one diagnostic; if summing an integer's digits takes more than 30 minutes, take the earlier course first.
Does this replace a networking course?
No. Module 6 gives the systems view and hands off to Networking Fundamentals for protocol depth.
Be first in when Computer Science Fundamentals opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens
