SECTION 04 / 8

The Digital Abstraction — Why Computers Use 0 and 1

4 min read
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.

Each person adds a small mistake. By the end, the message is wrong.
Each person adds a small mistake. By the end, the message is wrong.
Open image ↗
Noise adds up

The problem: noise adds up

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.

Top: with exact voltages, each block adds a little noise and the signal gets worse. Bottom: with only 0 and 1, each block snaps the signal back to clean.
Top: with exact voltages, each block adds a little noise and the signal gets worse. Bottom: with only 0 and 1, each block snaps the signal back to clean.
Open image ↗
Noise adds up, or gets cleaned
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.

The digital abstraction

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.

Version 1: one dividing line

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.

Version 2: a safe gap (the forbidden zone)

Below V_L means 0, above V_H means 1. In between is the forbidden zone, which circuits must never output.
Below V_L means 0, above V_H means 1. In between is the forbidden zone, which circuits must never output.
Open image ↗
Voltage zones

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.

The binary digital system

  • 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.


How to solve: voltage-zone questions

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:

  1. Draw a number line with V_L and V_H marked.
  2. Place the given voltage on it.
  3. 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
Try it:
Answer 1 < 3.2 < 3.5, so it’s in the forbidden zone (invalid).

Quick check

Why do errors pile up in an analog chain but not a digital one? In analog, every exact voltage matters, so each block’s small error is passed on and added to. In digital, each block reads only “low or high” and outputs a clean 0 or 1, removing the error.
What is the forbidden zone? The gap between V_L and V_H. Valid outputs must never fall there, so noise can’t flip a 0 into a 1.
Is the real world digital? No. Digital is an abstraction, a way of interpreting real (analog) voltages as 0 or 1.
Why do computers use binary rather than 10 levels? Two levels are easiest to tell apart reliably, and two-state circuits are cheap, small, fast and low-power.
YOUR STUDY PROGRESS

Finished this section? Save your progress.

Back to top ↑