Binary Code Worksheet
Master the language of computers. Practice converting between decimal, binary, and ASCII with these progressive exercises covering 8-bit binary representation.
Binary Number System Practice
Difficulty: Intermediate | Time: 25 Minutes
Instructions: Binary uses only two digits: 0 and 1. Each position in an 8-bit binary number represents a power of 2. Use the reference chart below to convert between binary, decimal, and ASCII characters.
8-Bit Binary Place Values
| Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|---|---|---|
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
ASCII uppercase letters: A=65, B=66, ... Z=90 | Lowercase: a=97, b=98, ... z=122
Convert the letter A to 8-bit binary (A = ASCII 65)
Convert the letter H to 8-bit binary (H = ASCII 72)
Convert the number 42 to binary
Decode binary to decimal: 00001010
Decode binary to ASCII letter: 01000010
Decode binary to ASCII letter: 01011010
Convert the decimal number 255 to binary
What decimal number does 10000000 represent?
Decode this binary message: 01001000 01001001 (ASCII)
Decode: 01000011 01001111 01000100 01000101 (ASCII)
What is 5 + 3 in binary? (add, then convert result)
Convert binary 01101001 to hexadecimal