RecallStrideA BreakellSystems productTry revision

OCR J277 · Computer systems

Storage units and file sizes revision

Convert bits and bytes, estimate text/image/sound sizes and show working with clear units.

OCR GCSE Computer Science · Topic 1.2.3 · By RecallStride / BreakellSystems

Try J277 revisionAll J277 topics

What to know about storage units and file sizes

Start with bits and bytes

A bit has one of two values, 0 or 1. A nibble is four bits and a byte is eight bits. Computers encode data as binary patterns because electronic states can reliably represent two alternatives. For decimal storage units, 1 KB = 1,000 bytes, 1 MB = 1,000 KB, then GB, TB and PB each multiply by 1,000. Use the convention stated in a question; these examples use decimal units.

Text and image calculations

An uncompressed text estimate is characters multiplied by bits per character. A bitmap estimate is width in pixels multiplied by height in pixels multiplied by bits per pixel. The result is in bits: divide by eight to obtain bytes. Headers, metadata and compression affect real files; include or ignore them as the question directs.

Focus areas: Storage units and file sizes.

Test yourself: questions and answers

Answer each prompt from memory before opening the explanation. These 4 samples come from this topic's 10 original retrieval cards.

How many bits are in a byte?

8 bits.

How many bits are in a nibble?

4 bits.

Using decimal units, how many bytes are in 3 KB?

3,000 bytes.

What is the raw bitmap size formula in bits?

Width × height × bits per pixel.

Turn this topic into a revision session

  1. Explain one idea without looking at the notes.
  2. Compare your answer with the guidance and identify the missing link.
  3. Apply it in a question or short program, then revisit it after a delay.

Free accounts choose one revision topic pack. Pro includes all 26 packs in this course and both published qualifications. Public samples and coding practice are free; PDF guides are separate purchases.

Create a free account

Specification and sources

Check the required scope against the official OCR J277 specification (PDF). RecallStride's explanations and examples are independent learning resources. See our editorial policy or report a correction, including the topic code and statement concerned.