You are on page 1of 29

BINARY NUMBERS

COMPUTER
Analog
Digital
Hybrid
HOW DOES COMPUTER
PROCESS DATA?
A computer is a digital
system that stores and
processes different
types of data in the
form of 0s and 1s.
What is Binary
• The binary numeral system, or base-2
number system represents numeric
values using two symbols (Numbers),
usually 0 and 1. More specifically, the
usual base-2 system is a positional
notation with a radix of 2.
Figure 1.0 Data Processing
Figure 1.1 Data Processing System
Figure 1.2 Data Processing
BIT = BINARY DIGIT
“There are ten types of people in the world:
those who understand binary and those who
don’t.”
Let’s Get Digital…
BIT = BI
BINARY DIGITT
ON (1)

OFF (0)
bit
BITS STORE DATA
BYTE
BYTE = BINARY
BI TERM
TE

8 bits = 1 byte
How can 2 digits represent
an infinite number of
values?
1 0
Using light bulbs to represent bits

1 1 1 1
8 4 2 1
CONVERT

Binary Number to Decimal Number


(1x8) + (1x4) + (1x2)+ (1x1) = 15

1 1 1 1
8 4 2 1
(0x8) + (0x4) + (0x2)+ (0x1) = 0

0 0 0 0
8 4 2 1
(1x8) + (0x4) + (1x2)+ (0x1) = 10

1 0 1 0
8 4 2 1
168 64 32 16 8 4 2 1
CONVERSION OF A BINARY NUMBER INTO DECIMAL

EXPANSION METHOD EXAMPLE ( 11101)2


• Multiply each digit with its = ( 1x24)+ ( 1x23)+ (1x2 2 )+ (0x21)+( 1x20)
place value
• Add these place values = ( 1x16)+(1x8)+(1x4)+(0x2)+(1x1)
• The sum is a decimal number = 16 + 8 + 4 + 0 + 1
= 29
10
Answer= ( 11101)2 = (29)
Example

1 1 1 0 = 14
8 4 2 1
Example

0101 = 5
8 4 2 1
Questions:

1.What do you think is the importance


of Binary in our daily lives?
2.How will you relate binary in the
world of science ?
Quiz
Directions: Convert binary to
decimal.
1.10100011 4. 11010110
2.101101 5. 11111
3.110100101010

You might also like