Digital Logic exercises with solutions

36 practice problems from the 12 lessons of the Digital Logic Design course, in lesson order and from easy to hard inside each lesson. Open a problem, write your code and press Submit: the tests run in your browser and nothing is sent to a server.

12 easy problems 12 medium problems 12 hard problems

Bits, logic gates and truth tables

3 problems · Read the lesson

Boolean algebra

3 problems · Read the lesson

Minterms, maxterms and canonical forms

3 problems · Read the lesson

Karnaugh maps

3 problems · Read the lesson

NAND and NOR: the universal gates

3 problems · Read the lesson

Adders: from half adder to ripple carry

3 problems · Read the lesson

Multiplexers, decoders and encoders

3 problems · Read the lesson

Designing a combinational circuit

3 problems · Read the lesson

Latches and flip-flops

3 problems · Read the lesson

Registers and counters

3 problems · Read the lesson

Finite state machines

3 problems · Read the lesson

Memory and programmable logic

3 problems · Read the lesson