Library › Computer Science 0478 › Number Systems
O Level · Computer Science 0478

Number Systems

Revise Number Systems for Computer Science 0478 (O Level) — revision notes and instant AI marking.

📖 Revision notes · preview
Cambridge IGCSE Computer Science 0478

Number Systems

Computers only understand ON and OFF — every number, letter, colour and sound you'll ever see on a screen is really just patterns of 1s and 0s underneath. This guide shows you how to read, write, and convert between the three number systems computers and humans use to talk about that data: denary, binary, and hexadecimal.

Summary — What This Chapter Covers

  • Why binary? Logic gates only have two states (on/off), so binary (1/0) is the natural fit for computer hardware.
  • Three number systems: denary (base-10, for humans), binary (base-2, for computers), hexadecimal (base-16, a human-friendly shorthand for binary).
  • Conversions: denary ↔ binary, denary ↔ hexadecimal, and binary ↔ hexadecimal (using nibbles).
  • Why hex exists: it's shorter to write and easier for humans to read/copy accurately than long strings of binary — used in MAC addresses, colour codes, and URLs.
  • Binary addition: adding two binary numbers together, including how carrying works and what happens when you run out of bits (overflow).
  • Binary shifts: moving bits left or right to multiply or divide by powers of 2.
  • Two's complement: how computers represent negative numbers using only 1s and 0s.

1. Why Computers Use Binary

The core reason

Inside every computer, data is processed using logic gates — tiny electronic switches that can only be in one of two states: on or off, high voltage or low voltage, current flowing or not flowing. There's no "half on."

Binary is the number system that's made up of exactly two digits — 1 and 0. This lines up perfectly: 1 can represent "on" and 0 can represent "off." Because of this natural match, all data — text, images, sound, video — must be converted into binary before a computer can understand and process it.

Analogy: The car accelerator
Think about driving a car. A real accelerator pedal lets you speed up gradually — 50mph, 60mph, 100mph, anything in between. But a computer's "accelerator" only has two settings: 50mph (0) or 100mph (1). There's no gradual in-between state. Trying to build hardware with more than two states would make the circuitry far more complex and less efficient — so engineers stick with simple two-state logic gates, and binary is the number system that matches them.

Where you can actually see this happening

Secondary storage devices physically store binary using two-state properties:

  • Magnetic hard drives use North and South magnetic polarity to represent a 1 or a 0.
  • Optical disks (CDs/DVDs) use a laser: light hitting a flat area (land) is read as a 1, and light hitting a bump (pit) is read as a 0.
Exam-ready answer "Computers process data using logic gates, and logic gates can only have two states (on/off), which is represented using the digits 1 and 0 in binary."
Practice Question

Explain why computers process data in binary format. [2 marks]

2. The Three Number Systems

2.1 Denary (base-10)

10 digits (0–9) weight

Column heading (using 10ˣ)1000 (10³)100 (10²)10 (10¹)1 (10⁰)
Digit3268

Reading this: (3×1000) + (2×100) + (6×10) + (8×1) = 3268. To represent bigger numbers, you simply add more digits (more columns) to the left.

2.2 Binary (base-2)

Digit 1 1
🔓 Read the full Number Systems note → You're seeing the preview · sign in to read it all
Also in the full note
  • 3. Converting Between Binary & Denary
  • 4. Converting Between Hexadecimal & Denary
  • 5. Converting Between Hexadecimal & Binary
  • 6. Why Do We Even Bother With Hexadecimal?
  • 7. Binary Addition
  • 8. Binary Shifts
  • 9. Two's Complement
  • What to Memorise
What's inside
📖 Revision notes 🎯 Learn mode ✦ AI flashcards ✓ Instant AI marking 🧊 3D explorers 🧪 Experiments & simulations 📈 Progress tracking
📄 Practise Number Systems with Computer Science 0478 past papers Every paper with its mark scheme — answer online, marked instantly. Open →

Read the full Number Systems notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →

More Computer Science topics