Mr. Smith discusses the use of digital inputs in the form of buttons to control the flow of electrons through a circuit. Students load a C++ program to demonstrate this phenomena and manipulate the code to draw their own conclusions about the concepts.