With two buttons and an LED, the book explores basic computer logic gates, including NOT, OR, AND, XOR and a Latch. The book uses light sensors to detect which page is open and change the operands accordingly.