HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Data Representation
  2. /Computer Science
  3. /Storage Units and Compression
Chapter 1 · Part 3 of 3Data Representation
← Previous part: Text, Sound and Images in Binary
High School (9–10)Computer Systems › Data RepresentationFree course

Storage Units and Compression

Why does a song take a few mebibytes, and why does a photo shrink when you send it to a friend?

  • You measure data from the bit and the nibble up to the exbibyte, always with 1024 as the step.
  • You calculate the size of an image file and a sound file in the unit a question asks for.
  • Then you compare lossy and lossless compression and compress data with run-length encoding.
  • It covers the matching unit of Cambridge IGCSE Computer Science.

3 lessons, about 1 h 10 min3 simulations10 problems3 practice questionsPython in every lesson

StemPy LabCreated by StemPy Lab

Free

Every lesson is open to read. Enroll to keep your place in the course. No payment needed.

This course includes

  • 3 lessons, about 1 h 10 min
  • 3 simulations with sliders
  • 3 practice questions with new numbers each time
  • 3 Python programs to run
  • 10 problems with worked solutions
  • 2 Python labs
1 question set
  • 1 revision note
  • 1 test
  • Log in to save

    Course outline (3 lessons)

    1. 1
      Lesson 1about 20 min

      Units of data storage

      Data storage is measured in bits and bytes, and then in larger units that go up in steps of 1024. You learn the bit, the nibble and the byte, the units from the kibibyte to the exbibyte, and how to change a size from one unit to another.

      1 simulation1 practice question1 Python program3 problems
      Read the lesson
    2. 2
      Lesson 2about 25 min

      Calculating file sizes

      In the previous course you found the size of an image or a sound in bits. Now you give that size in the unit the question asks for: bytes, kibibytes or mebibytes. You follow one clear chain of steps, always using 1024.

      1 simulation1 practice question1 Python program4 problems1 Python lab
      Read the lesson
    3. 3
      Lesson 3about 25 min

      Compression: lossy, lossless and run-length encoding

      Compression makes a file smaller, so it needs less storage and less time to send. You learn why we compress, the difference between lossy and lossless compression, and how run-length encoding squeezes repeated data without losing any of it.

      1 simulation1 practice question1 Python program3 problems1 Python lab1 question set1 note
      Read the lesson

    Test Your Learning

    Storage and Compression: Chapter Test
    IGCSE format20 questions · 25 min
    Not started

    Your teacher

    StemPy LabStemPy Lab

    1 follower

    Loading…

    ← All Courses
    ← Text, Sound and Images in BinaryNext →
    More onComputer Systems › Data Representation

    Discussion (0)

    Log in to join the discussion.

    Loading…