Chapter 3

True or False

Digital computers are logic machines. They use bits to store information. But a bit is nothing but a switch with two states, on and off. A bit can represent the two binary digits 1 and 0. And a bit can represent the two truth values true and false.

Computer hardware consists of circuits built with logic gates. Boolean algebra deals with computations on truth values. Logic conditions and implications are used in software to control program execution.

We shall explore the close relationship between logic and computers.

3.1 Digital Electronic Circuits

Modern computers process digital signals represented by the presence (1) or absence (0) of an electric current or voltage. Digital electronic circuits process input signals ...

Get From Computing to Computational Thinking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.