The chapter in short
Digital systems are designed from logic gates, which take binary inputs and give a binary output by a fixed rule. Combining gates, described by Boolean expressions and truth tables, builds circuits that make decisions.
The chapter also teaches troubleshooting: a step-by-step way to find and fix problems in computer hardware and software, from loose cables to software that will not start.
Logic gateTruth tableBoolean expressionTroubleshootingDevice driverSystem design
Key points
- The basic logic gates are AND, OR and NOT; NAND, NOR, XOR and XNOR are built from them.
- A truth table lists the output for every combination of inputs; n inputs give 2ⁿ rows.
- A Boolean expression describes a logic circuit, such as X = A · B + C.
- Troubleshooting steps: identify the problem, guess a cause, test it, plan and apply a fix, check the result and record it.
- Check the simple things first: power, cables, connections and restarting.
- Common faults include overheating, a failing hard disk, driver problems and malware.
Definitions
- 1
Logic gate
An electronic circuit that gives one output from one or more binary inputs according to a rule.
- 2
Truth table
A table showing the output of a logic circuit for every combination of inputs.
- 3
Boolean expression
An expression using AND, OR and NOT that describes a logic circuit.
- 4
Troubleshooting
A systematic way of finding and fixing problems in a system.
- 5
Device driver
Software that lets the operating system control a piece of hardware.
- 6
System design
Planning the parts of a system and how they work together to meet a need.
Formulas
AND, OR, NOT
X = A · B; X = A + B; X = Ā
Rows in a truth table
rows = 2ⁿ for n inputs