A 1.2.1-2 Representing Data
Everything a computer holds, a number, a sentence, a photograph, a song, is stored as a pattern of binary digits. This page covers two linked ideas: how whole numbers are written in binary and hexadecimal and converted between those systems and decimal, and how binary encoding is then used to store every other kind of data. The first half is mechanical, and you should be able to do the conversions by hand. The second...