Now that we've taken a trip to the past, let's come back to the present. In this week's reading, you saw how different cultures used number systems with different bases than the base-10 system we use in everyday modern life.
Other bases are still in common use today in our computers. Computers only know "On" and "Off", which are represented with 1's and 0's. This creates a base-2 number system called binary.
To store your English papers, emails, and other documents containing letters, the computer first must convert the letter into a number. To do this, a system was created in the 1960's called ASCII (American Standard Code for Information Interchange) which assigns a decimal value to each letter. Here are the ASCII codes for uppercase letters A - Z:
For example, to encode the letter M, it would first be converted to the decimal value 77. The decimal value 77 is then converted to binary (base-2):
77 (in base 10) is equivalent to 1001101 in binary (base 2). Since binary numbers usually come in groups of 8 digits, this number would commonly be written with a leading zero, as 01001101. We can check this conversion by converting back to base-10:
Decode the following binary codes into letters:
01010100 01001000 01000101 01000101 01001110 01000100
In letters, this means:
Other bases are still in common use today in our computers. Computers only know "On" and "Off", which are represented with 1's and 0's. This creates a base-2 number system called binary.
To store your English papers, emails, and other documents containing letters, the computer first must convert the letter into a number. To do this, a system was created in the 1960's called ASCII (American Standard Code for Information Interchange) which assigns a decimal value to each letter. Here are the ASCII codes for uppercase letters A - Z:
A | B | C | D | E | F | G | H | I | J | K | L | M |
65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 |
For example, to encode the letter M, it would first be converted to the decimal value 77. The decimal value 77 is then converted to binary (base-2):
77 (in base 10) is equivalent to 1001101 in binary (base 2). Since binary numbers usually come in groups of 8 digits, this number would commonly be written with a leading zero, as 01001101. We can check this conversion by converting back to base-10:
Decode the following binary codes into letters:
01010100 01001000 01000101 01000101 01001110 01000100
In letters, this means: