CrossConnects
Episode 3

Binary, Hex, and Number Systems

The math episode, and it's only addition and powers of two. Binary, decimal, and hex, how to convert between them by hand, how to read a MAC address, and the nine values a subnet mask byte can have.

Watch on YouTube

Chapters

  1. 0:00Intro
  2. 0:38Why networking runs on numbers
  3. 1:28Bits and bytes
  4. 2:18Place value
  5. 4:18Binary to decimal
  6. 6:00Decimal to binary
  7. 7:57Hexadecimal
  8. 9:43Hex and binary together
  9. 11:13MAC addresses
  10. 12:31Subnet mask bytes
  11. 13:41Powers of two
  12. 14:57Demo: checking your work
  13. 16:39Homework and recap

Homework

  1. Memorize the powers of two from 1 up to 128, and write them out from memory once without looking.
  2. Convert 10, 77, and 200 to binary. Then convert 11001001 to decimal, and 0x3F to binary.
  3. Write your own computer's IP address in binary, all four octets.
  4. Find your MAC address and look up who made your network card.

Lab for this episode: Conversion drills.

Show the answers (try it first)

Downloads

Number conversion drills

Random binary, decimal, and hex conversions with your score, and the worked steps when you miss one. Needs Python 3, nothing else. Run it with py crossconnects_number_drills.py on Windows or python3 crossconnects_number_drills.py on Mac and Linux.

crossconnects_number_drills.py

← Episode 2Full outline