1. Objectives:
At the end of the lesson students must have :
Analyzed the data representation in a computer.
Performed conversion of decimal to binary.
4. DATA REPRESENTATION
IN A COMPUTER
Data or characters like,
need to convert first into a machine-readable form
like binary form.
numbers, letters, symbols,
sound, video or pictures
5. The On state is represented
by “1” and OFF state is “0”.
These 1 and 0 forms the
electrical signal that only
computer can accept and
understand
6. USING BINARY SYSTEM
IN COMPUTER
- A binary digit that hold only one of two
values: 0 or 1
BIT
BYTE
- the smallest data on computer
-bit are assembled into a group of eight to
form a
7.
8. 1.Divide the number by 2
2.Copy the quotient and write
the remainder
3.Divide the quotient by 2
4.Repeat steps 2 and 3 until you
get a quotient of 0.
5.Read the values of the
remainder from the bottom to
top. Write the values to get the
binary value of the decimal
number.
RULES IN CONVERTING
DECIMAL TO BINARY
quotient remainder
128
9. RULES IN CONVERTING
DECIMAL TO BINARY
1. Divide the number by 2
2. Copy the quotient and
write the remainder
3. Divide the quotient by 2
4. Repeat steps 2 and 3 until
you get a quotient of 0.
5. Read the values of the remainder
from the bottom to top. Write the
values to get the binary value of the
decimal number.
REMAINDER
QUOTIENT
128/2
128
64 0
64/2 32 0
32/2 16 0
16/2 8 0
8/2 4 0
4/2 2 0
2/2 1 0
1/2 0 1
10000000
11. Essential questions
o What is the binary number of 128?
o What mathematical operation used in converting
decimal to binary?
o In what direction you are going to read the remainder
to get the binary value?
10000000
Division
Bottom to Top
13. Essential questions
o What are the two numbers that computer could only
recognize?
o what is the difference between Bit ?and Byte?
o What are the two state represented by 0 and 1?
0 and 1
Bit- two values; byte – eight values
On and off state
14. 1) Bit
2) 1 and 0
3) byte
4) 15
5) 25
a) 1111
b) bit are assembled into a group of eight
c) the smallest data on computer
d) forms the electrical signal that only
computer can accept and understand
e) 11001
MATCHING TYPE
DIRECTION: Match Column A to Column B
Column A Column B