O'Reilly logo

Bebop to the Boolean Boogie, 3rd Edition by Clive Maxfield

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Primitive Logic Functions

Switch Representations of AND and OR Functions

Before we leap into the fray, let’s first perform a couple of simple thought experiments involving switches and light bulbs. Consider an electrical circuit consisting of a power supply, a light, and two switches connected in series, one after the other [Figure. 5.1(a)].

Figure 5.1. Switch representation of a 2-input AND function.

The switches are the inputs to the circuit and the light is the output. A truth table provides a convenient way to represent the operation of the circuit [Figure. 5.1(b)]. As the light is only on when both the a and b switches are

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required