TopMyGrade

GCSE/Computer Science/OCR

1.2.3Units: bit, nibble, byte, KB, MB, GB, TB, PB; converting between units

Notes

Units of information

OCR J277 Paper 1 uses the base-1000 (decimal) convention for units in the spec — kilobyte = 1,000 bytes, megabyte = 1,000 KB, etc. (Some textbooks still use base-1024 — OCR mark schemes accept either if the working is clear, but the spec answer is base-1000.)

The hierarchy

UnitSymbolSize
Bitb1 binary digit (0 or 1)
Nibble4 bits
ByteB8 bits
KilobyteKB1,000 bytes
MegabyteMB1,000 KB = 1,000,000 bytes
GigabyteGB1,000 MB
TerabyteTB1,000 GB
PetabytePB1,000 TB

Converting between units

Each step up multiplies by 1,000 (or 8 for bit↔byte). Each step down divides.

  • 16 bits ÷ 8 = 2 bytes.
  • 5,000 KB ÷ 1,000 = 5 MB.
  • 2 GB × 1,000 = 2,000 MB = 2,000,000 KB = 2,000,000,000 bytes.

A common pattern in OCR is "calculate the file size", e.g. an image 600 × 400 pixels at 24 bits per pixel:

  • pixels = 600 × 400 = 240,000
  • bits = 240,000 × 24 = 5,760,000 bits
  • bytes = 5,760,000 ÷ 8 = 720,000 bytes = 720 KB.

Why bits and bytes?

A computer stores everything as binary. The smallest unit is the bit — high or low voltage representing 1 or 0. Bytes are the smallest addressable unit in most architectures — RAM addresses one byte at a time.

Common OCR exam mistakes

  • Confusing b (bit) and B (byte). Network speeds quote bits/sec; file sizes quote bytes.
  • Using ÷ 1,024 when the question expects ÷ 1,000.
  • Forgetting to divide by 8 when converting bits → bytes.
  • Quoting "8 bits = 1 nibble" — a nibble is 4 bits.

AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

Practice questions

Try each before peeking at the worked solution.

  1. Question 14 marks

    Conversions

    Convert each of the following:
    (a) 4 bytes into bits [1]
    (b) 8,000 bytes into kilobytes [1]
    (c) 3 GB into MB [1]
    (d) 16 bits into bytes [1]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

  2. Question 23 marks

    File-size calculation

    An image is 800 pixels wide and 600 pixels tall. Each pixel uses 3 bytes of colour information. Calculate the file size of the image in kilobytes. Show your working. [3 marks]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

  3. Question 35 marks

    Order and definitions

    (a) State the size of a nibble in bits. [1]
    (b) Order the following from smallest to largest: GB, KB, byte, MB, TB. [2]
    (c) Explain why network bandwidth is usually quoted in megabits per second rather than megabytes per second. [2]

    Ask AI about this

    AI-generated · claude-opus-4-7 · v3-ocr-computer-science-leaves

Flashcards

1.2.3 — Units of information: bit, nibble, byte, KB, MB, GB, TB, PB; converting between units

7-card SR deck for OCR Computer Science (J277) — leaves batch 1 topic 1.2.3

7 cards · spaced repetition (SM-2)