See How Things Work

Representing Information

Field
Artificial Intelligence
Parts
4
Lessons
23
Ready
12 of 23

How a computer stores numbers, text, images and sound as bits, and how data is compressed.

Part of How Computers Work (Computing Foundations)

Builds on Number Bases (Mathematics), Decimals (Mathematics)

Contents

  1. 1Bits

    1. 1.1Information as choices between alternativesReady
    2. 1.2Bits and bytesReady
    3. 1.3Binary numbers in a computerReady
    4. 1.4Hexadecimal notationReady
    5. 1.5How many values n bits can holdReady
    6. 1.6Units of storage: kilobytes to terabytesReady
  2. 2Numbers in a Computer

    1. 2.1Unsigned integersReady
    2. 2.2Negative integers and two's complementReady
    3. 2.3OverflowReady
    4. 2.4Fixed-point numbersReady
    5. 2.5Floating-point numbersReady
    6. 2.6Rounding error in floating pointReady
    7. 2.7Low-precision formats: half precision and bfloat16Soon
  3. 3Text, Images and Sound

    1. 3.1Characters and ASCIISoon
    2. 3.2Unicode and UTF-8Soon
    3. 3.3Images as grids of pixelsSoon
    4. 3.4Color as red, green and blueSoon
    5. 3.5Sound as a sequence of samplesSoon
    6. 3.6Video as a sequence of framesSoon
  4. 4Compression

    1. 4.1Why data can be compressedSoon
    2. 4.2Run-length encodingSoon
    3. 4.3Lossless and lossy compressionSoon
    4. 4.4Lossy compression of images and soundSoon