🔢 Number SystemsUnit 2 – The internet | November 03
Do Now (in Classroom)
A is represented by
65 in ASCII, the protocol used by most computers for text encoding.
American Standard Code for Information Interchange, a set of digital codes representing letters, numerals, and other symbols, widely used as a standard format in the transfer of text between computers.
Deep inside your computer, that
65 is sent in binary. What is
65 in binary?
🎯 Learning Targets
I can use number bases, including binary, decimal, and hexadecimal, to represent and investigate digital data.
I can explain why hexadecimal is used to represent digital data.
Review decimal & binary
Let’s write 15:
In decimal, we have 10 symbols:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
15 in decimal:
In binary, we have 2 symbols:
15 in binary:
Binary numbers start to get very long, very quickly.
Hexadecimal - base 16
In hexadecimal, we have 16 symbols:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b ,c, d, e, f
15 in hexadecimal is
- How many
bitsdoes it take to write 15 in decimal, binary, and hexadecimal?
- Hex looks just like decimal…until we try to write 16:
Where have we seen hex before?
That’s my favorite pink, Razzmatazz. Colors can be represented by mixing red, green, and blue. How much RGB is Razzmatazz?
It’s 227 red, 33 g, and 115 blue. How do I know that?