THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
IT’S ALL ONES AND ZEROS … -Computers speak in a language, very much like we speak in English. We call it binary code. -This language consists of two “letters”: 0 and 1
BINARY VERSUS DECIMAL NOTATION
-In the binary system, we use only two digits: 0 and 1 -A single 0 or 1 is called a “bit” -A group of 8 bits is called a “byte” ex: One byte has the possibility of 256 different values -Each digit holds a value, which is some sequential power of 2
BINARY VERSUS DECIMAL NOTATION Let’s take a look at a few examples: DecimalBinary
BINARY VERSUS DECIMAL NOTATION DecimalBinary (Byte)
TRY THIS … 1.Write these numbers out in binary form: a)9 b)22 c) Convert these binary numbers into decimal notation: a)111 b) c)
ANSWERS 1.Write these numbers out in binary form: a) b) c) Convert these binary numbers into decimal notation: a)111 7 b) c)
ASCII
JUST FOR FUN …