Representing Information
- 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
1Bits
2Numbers in a Computer
- 2.1Unsigned integersReady
- 2.2Negative integers and two's complementReady
- 2.3OverflowReady
- 2.4Fixed-point numbersReady
- 2.5Floating-point numbersReady
- 2.6Rounding error in floating pointReady
- 2.7Low-precision formats: half precision and bfloat16Soon
3Text, Images and Sound
- 3.1Characters and ASCIISoon
- 3.2Unicode and UTF-8Soon
- 3.3Images as grids of pixelsSoon
- 3.4Color as red, green and blueSoon
- 3.5Sound as a sequence of samplesSoon
- 3.6Video as a sequence of framesSoon
4Compression
- 4.1Why data can be compressedSoon
- 4.2Run-length encodingSoon
- 4.3Lossless and lossy compressionSoon
- 4.4Lossy compression of images and soundSoon