Digital Logic
How a computer actually works, starting from a single switch. Binary, logic gates, truth tables, adders and memory, with an animation for every idea and no electronics needed.
Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.
Start Digital Logic freeWhat this course covers
- Why Computers Use Only Two Values
- Counting in Binary
- Binary to Decimal and Back
- Hexadecimal, the Short Way to Write Bits
- Bits, Bytes and What They Hold
- The AND Gate
- The OR Gate
- The NOT Gate
- Truth Tables
- NAND and NOR: The Universal Gates
- XOR: Different or the Same
- Wiring Gates Together
- The Laws of Boolean Algebra
- De Morgan's Laws
- Fewer Gates, Same Behaviour
- From a Table to a Circuit
- The Half Adder
- The Full Adder
- Adding Numbers, Not Just Bits
- The Multiplexer: Choosing an Input
- The Decoder: One Line Out of Many
- Remembering a Bit
- The Clock and the Flip Flop
- Counters, and the Whole Machine
Other courses
Learn to think like a problem-solver before you write a single line of code. Break big …
Your first Python course, no experience needed. Learn variables, loops, functions, and …
Level up your Python with comprehensions, lambdas, error handling, files, modules, and …
Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…
Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …
Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…
Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…
Learn Java from zero, with no programming background needed. Write your first program, …
Learn C++ from zero, with no programming background needed. Start with your first progr…
Learn C from zero, with no programming background needed. The language that Unix, Linux…
Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …
Build for the browser: structure pages with HTML, style them with CSS, then use live AP…