2. INTRODUCTION
The binary number system is a base-2 number
system. This means it only has two numbers: 0 and
1. The number system that we normally use is the decimal
number system. It has 10 numbers: 0-9.
TERMS TO DEFINE: Binary, Number systems, bit, byte
3. OBJECTIVES:
1. understand why computers speak in binary
2. convert decimal numbers into binary and vice-versa
3. understand how media files are converted into binary
5. Binary Number Systems
The binary number system is a base-2 number
system. This means it only has two numbers: 0 and 1.
The number system that we normally use is the
decimal number system. It has 10 numbers: 0-9.
6. Why use binary numbers? Binary numbers are very useful
in electronics and computer systems. Digital
electronics can easily work with a sort of "on" or "off"
system where "on" is a 1 and "off" is a zero. Often
times the 1 is a "high" voltage, while the 0 is a "low" voltage
or ground.
7.
8.
9. A digit in binary is called a bit.
A collection of 8 bits is called a byte.
10. Converting from Binary to Decimal
If you want to convert a number from binary to decimal,
you can
add up the "places" that we showed above. Each place that
has a "1" represents a power of 2, starting
with the 0s place.
11.
12.
13.
14. Converting from Decimal to Binary. The easiest method of
converting decimal to binary is by using
long division.
Example: Convert 2710 to binary.
210
15. 1. Divide the decimal number by 2, and record the
remainder:
27÷ 2=13 (remainder 1 )
16. 2. Repeat this process over and over until we can’t divide
the number by 2. Here, we used long
division so we can see the remainders easily.