Computer Science › Section B · Data storage › Topic B.4

Representing text, images, and sound as bits

A text message, a selfie and a song all end up as nothing but 0s and 1s. What turns those bits back into words, pictures and music is an agreed code, and the choice of code decides how much storage each one needs.

In this topic

  • Everything needs a code
  • ASCII: one byte per character
  • Unicode and UTF-8
  • Worked example: encoding text
  • Text files and numbers
  • Images as bit maps
  • Brightness, colour and scaling
  • Worked example: the size of an image
  • Sampling sound
  • Worked example: the size of a song
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →