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. We work through the number systems and the conversions first, then look at each data type,...