Binary Representation

CSCI N35100

Andy Harris

Indiana University / Purdue University - Indianapolis

Computers and Information

Working with Multiple Switches

Assigning values to messages

Converting from Binary to base 10

Converting from Base 10 to Binary

Binary is good...

Base 8 (octal)

Base 8 characteristics

3 Digits of binary

PATTERN!

3 digits binary = 1 digit octal

Converting Binary to Octal

Octal to Binary

The problem with Octal

But what about 643 octal?

Four digits of Binary

Converting Binary to Hex

But there's a problem...

We can't use base 10 place value here.

The Sneaky Solution