Practice

Digital logic design practice problems

These are circuit problems. You place gates, multiplexers and flip flops on a canvas, wire them, and the simulator checks your circuit against a truth table or a clocked test sequence.

916 problems60 free to solve190 easy, 416 medium, 310 hard

Some problems ask for a build from scratch, some hand you a broken circuit to repair, and some ask you to read a circuit or a timing diagram and answer about it.

What these problems cover

  • Number systems, Boolean algebra and Karnaugh maps
  • Gate level design and minimization
  • Adders, multiplexers, encoders, decoders and ALU slices
  • Latches, flip flops and their timing
  • Counters, shift registers, ring and Johnson counters
  • Moore and Mealy state machines

Free to start

Solve these with a free account. Every other statement on this page is free to read.

Problems by track

Digital Foundations58

46 more in the Digital Foundations track

Gate-Level Logic62

50 more in the Gate-Level Logic track

Combinational Building Blocks41

29 more in the Combinational Building Blocks track

Latches and Flip-Flops126

114 more in the Latches and Flip-Flops track

Counters138

126 more in the Counters track

Shift Registers80

68 more in the Shift Registers track

Finite State Machines18

6 more in the Finite State Machines track

Arithmetic and ALU Design31

19 more in the Arithmetic and ALU Design track

Datapath and Storage28

16 more in the Datapath and Storage track

Clocking and Synchronization85

73 more in the Clocking and Synchronization track

Fault Testing and Verification27

15 more in the Fault Testing and Verification track

Interface and Communication Circuits77

65 more in the Interface and Communication Circuits track

Interview Circuit23

11 more in the Interview Circuit track

More problems122

How your answer is checked

Your circuit runs on the same simulation engine in the browser and on the server. It is checked against the problem's test vectors; a sequential circuit is clocked through them and its outputs compared on every cycle.

Questions

Do I need to know Verilog for these?
No. Circuit Lab problems are built from parts on a canvas. When you want to write the same designs as code, the Verilog problems cover them.
Is this useful for university digital electronics courses?
The tracks follow the order most digital logic courses use: number systems, gates, combinational blocks, then sequential circuits and state machines.
Are these problems free?
The first problems of every track are free with an account, and every problem statement is free to read.