The Digital Abstraction — Why Computers Use 0 and 1
On this page 7 headings
Start here Play “telephone”: whisper a sentence to a friend, who whispers it to the next, and so on down a line of ten people. By the end, the sentence is completely wrong. Small mistakes add up. Computers face the same problem with voltages, and they solve it in a clever way.
Real circuits are never perfect. Every block adds a tiny error, called noise, because of:
- small differences when the chip was made
- heat, nearby wires and other disturbances
Now join many COPY and INVERT blocks in a long chain, passing a picture’s voltages along.
| Approach | What happens after many blocks |
|---|---|
| Analog (every exact voltage matters) | Errors pile up. The picture becomes blurry and wrong. |
| Digital (only “low” or “high” matters) | Each block cleans the signal back to a perfect 0 or 1. Errors don’t pile up. |
Idea: stop caring about the exact voltage. Only ask: is it low or high?
- Low voltage → read it as 0
- High voltage → read it as 1
A slightly wrong voltage (0.1 V instead of 0 V) is still clearly “low”, so it’s still read as 0. The error disappears. This is called restoring the signal.
Important: the real world is not digital, and the parts we use aren’t digital either. “Digital” is a way of looking at voltages, an abstraction, that makes circuits reliable.
Pick a threshold voltage V_TH:
- V < V_TH → 0
- V ≥ V_TH → 1
Problem: a voltage sitting right next to V_TH could be read as 0 one time and 1 the next. Noise can push it either way.
Use two limits, V_L (low) and V_H (high):
| Voltage | Meaning |
|---|---|
| V ≤ V_L | 0 |
| V_L < V < V_H | Forbidden zone: not allowed |
| V ≥ V_H | 1 |
Circuits are designed so their outputs are always clearly inside the 0 zone or the 1 zone, never in the gap. Even if noise moves the voltage a bit, it stays on the correct side.
Example from the slides: with a 3 V supply, roughly 2.5–3 V means 1 and 0–0.5 V means 0. Anything in between is forbidden.
- Digital system: uses a limited (finite) set of values, not every possible voltage.
- Binary system: uses exactly two values, 0 and 1 (base 2).
- One binary digit is called a bit.
Why binary? Circuits with just two states are cheap, small, fast and use little power. Telling apart 2 levels is far easier and safer than telling apart 10.
In one line: Noise piles up when every exact voltage matters, so computers only ask “low or high?” (0 or 1) and keep a forbidden gap between the two. Each block then restores a clean signal. Exam words: noise, analog, digital, digital abstraction, restoring the signal, threshold voltage (V_TH), V_L, V_H, forbidden zone, binary, bit.
Spot it: you’re given V_L, V_H (or a threshold) and a voltage, and asked whether it’s a 0, a 1 or invalid.
Steps:
- Draw a number line with V_L and V_H marked.
- Place the given voltage on it.
- At or below V_L → 0. At or above V_H → 1. In between → forbidden / invalid.
Trap: don’t use “closest to 0 V or 1 V”. Only the zones decide.
Worked example: V_L = 0.8 V, V_H = 2.0 V. Read 0.3 V, 1.5 V and 2.7 V.
- 0.3 V ≤ 0.8 → 0
- 0.8 < 1.5 < 2.0 → forbidden
- 2.7 ≥ 2.0 → 1
