A1.2 Data representation and computer logicA1.2.2

How binary is used to store data

Explain how binary is used to store data

SL + HL≈ 50 minCommand term: ExplainPremium

In this lesson

  • The fundamentals of binary encoding and how they affect data storage and retrieval
  • How integers, characters and strings are stored in binary
  • How images, audio and video are stored in binary, and how to calculate their size

This lesson is part of Premium

Every topic has one free lesson. Premium unlocks every interactive lesson, the exam-style questions at the end of each one, and the rest of Praxis IB.

What's inside

  1. LearnBinary encoding
  2. LearnIntegers
  3. LearnCharacters and strings
  4. LabText to binary
  5. CheckQuick check
  6. LearnImages
  7. LabResolution, colour depth and size
  8. MethodCalculating an image size
  9. LearnSound
  10. LabSampling a sound wave
  11. CheckSort them
  12. LearnVideo
  13. CodeCharacter codes in Python
  14. MethodCalculating a sound file size
  15. ReviewMistakes examiners see
  16. Exam practiceExam-style questions

Ends with 5 exam-style questions worth 13 marks, with a self-marking markscheme.