Data Storage and Compression | Edexcel International GCSE Computer Science (4CP0)

Guide overview All 20 topics Sample questions Papers and weighting Look inside Questions and answers

Data Storage and Compression

  • 53 questions
  • 3 subtopics
  • Paper 1
  • Paper 2

Data Storage and Compression is examined in Paper 1, Principles of Computer Science, and Paper 2, Application of Computational Thinking.

It covers units of data storage; calculating file sizes; and compression and run-length encoding.

Sample questions from Data Storage and Compression

Answer each one closed book first, then open the answer.

  1. Units of data storage

    What is a bit?

    Show the answer
    A bit is a single binary digit, either 0 or 1, and is the smallest unit of data.
  2. Units of data storage

    How many bytes are in 1 mebibyte?

    Show the answer
    One mebibyte is 1024 × 1024 bytes, which is 1048576 bytes.
  3. Calculating file sizes

    How is the file size of an image calculated?

    Show the answer
    The file size of an image in bits is the number of pixels multiplied by the colour depth. Dividing by 8 gives bytes, and dividing by 1024 gives kibibytes.
  4. Calculating file sizes

    Calculate the file size in KiB of an image of 256 × 256 pixels with a colour depth of 4 bits.

    Show the answer
    The image has 256 × 256 = 65536 pixels of 4 bits each, which is 262144 bits or 32768 bytes. Dividing by 1024 gives 32 KiB.
  5. Compression and run-length encoding

    Why are files compressed?

    Show the answer
    Compression reduces file size. Smaller files need less storage space and less bandwidth, and they transmit in a shorter time.
  6. Compression and run-length encoding

    Compress the text WWWWWWBBBWWWW using run length encoding.

    Show the answer
    The text has six W, then three B, then four W. In run length encoding the text becomes 6W3B4W.

The 3 subtopics

One subtopic is one session. Work down the list.

Subtopic What it covers Questions
Units of data storage Bits, nibbles and bytes, IEC binary units such as kibibytes and decimal units such as kilobytes, and converting between them. 19
Calculating file sizes Worked file size calculations for images and sound files in bytes, kibibytes and mebibytes. 16
Compression and run-length encoding Why data is compressed, lossy and lossless methods with JPEG and MP3, and worked run-length encoding. 18
Data Storage and Compression is 53 of the 819 questions in the guide.Get the guide, £7

How the guide is worked

Answering a question from memory stores it far better than reading the answer again. The guide runs that as a fixed procedure on one subtopic at a time, about twenty minutes a session.

  1. Step 1 · Closed book

    Cover the answers. Work through one subtopic and write down what you can. Leave blanks where you have nothing.

  2. Step 2 · Open book

    Go back to the top. Read each printed answer and write it out in full, including the ones you had right.

  3. Step 3 · Closed book again

    Same questions, same order, from memory. The gap between pass one and pass three is the session result.

Read the full method, the return schedule and the research behind it.

Around this topic

All 20 topics Guide overview

Edexcel International GCSE Computer Science Active Recall Guide

Data Storage and Compression and every other topic, with the answers printed after each section.

£7 GBP
Get the guide

Digital PDF, sent to the email address on your order.