1 Information representation - Cambridge AS & A Level Class 11 Computer Science Notes, Diagrams and Solved Questions

How a computer stores numbers, text, images and sound in binary: binary and decimal prefixes, hexadecimal, BCD, two's complement arithmetic and overflow, character sets, bitmap and vector graphics, sound sampling, and lossy and lossless compression including run-length encoding.

In this chapter

  • Binary prefixes (kibi, mebi, gibi, tebi) versus decimal prefixes (kilo, mega, giga, tera)
  • Converting between binary, denary, hexadecimal and BCD, and where BCD and hex are used
  • One's and two's complement for negative integers
  • Binary addition and subtraction, and how overflow occurs
  • ASCII, extended ASCII and Unicode character sets
  • Bitmap terms, file-size estimates and the effect of resolution and colour depth
  • Vector graphics as drawing lists, and sound sampling rate and resolution
  • Lossy and lossless compression, and run-length encoding (RLE)