{# Course schema: this is what turns a blue link into a result that shows the provider and the level. Only facts that are actually true go in here. #}
ExpoCoder Sign in Start free

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.

24 lessons about 8 hours Easy Free with a free account
Learn it by writing it.

Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.

Start Digital Logic free

What this course covers

  1. Why Computers Use Only Two Values
  2. Counting in Binary
  3. Binary to Decimal and Back
  4. Hexadecimal, the Short Way to Write Bits
  5. Bits, Bytes and What They Hold
  6. The AND Gate
  7. The OR Gate
  8. The NOT Gate
  9. Truth Tables
  10. NAND and NOR: The Universal Gates
  11. XOR: Different or the Same
  12. Wiring Gates Together
  13. The Laws of Boolean Algebra
  14. De Morgan's Laws
  15. Fewer Gates, Same Behaviour
  16. From a Table to a Circuit
  17. The Half Adder
  18. The Full Adder
  19. Adding Numbers, Not Just Bits
  20. The Multiplexer: Choosing an Input
  21. The Decoder: One Line Out of Many
  22. Remembering a Bit
  23. The Clock and the Flip Flop
  24. Counters, and the Whole Machine

Other courses

Computational Thinking

Learn to think like a problem-solver before you write a single line of code. Break big …

Basic Python

Your first Python course, no experience needed. Learn variables, loops, functions, and …

Intermediate Python

Level up your Python with comprehensions, lambdas, error handling, files, modules, and …

Object-Oriented Programming

Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…

Advanced Python

Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …

Data Structures & Algorithms

Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…

Games with Pygame

Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…

Java

Learn Java from zero, with no programming background needed. Write your first program, …

C++

Learn C++ from zero, with no programming background needed. Start with your first progr…

C

Learn C from zero, with no programming background needed. The language that Unix, Linux…

JavaScript

Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …

Web Frontend

Build for the browser: structure pages with HTML, style them with CSS, then use live AP…

See all courses