Bit Byte
Bit Byte
Bit Byte
WAS THE
SONG
ABOUT?
LeT’S
REVIEW!
Write down the
name of the
components
What is the
value of a bit?
How many bits
does a byte
have?
Guess the
word?!?
kb
kilobyte
mb
megabyte
gb
gigabyte
How to convert
decimal number to
binary codes?
1. Divide the given value
by 2 until Quotient has
become 0.
Ex: 10
Q (quotient) R (remainder)
10/2 5 0
5/2 2 1
2/2 1 0
1/2 0 1
2. Get the remainder then
read/write starting from
bottom to up.
Q (quotient) R (remainder)
10/2 5 0
5/2 2 1
2/2 1 0
1/2 0 1
10 = 1010
3. check! By putting the
value 1 starting from the 1 st
1010
842 1
3. below the bits with the
value 1, add all the
equivalent decimal values
aligned to it.
1010= 8 + 2 = 10 √
842 1
What is our given
number?
Was our answer
correct?
Group
Work!
The first group
to finish
converting gets
1 point.
1 chance only
per group!
Ready?
Get the binary
code of the
decimal
number 36.
The correct
answer is?
36 = 100100
How?
Q (quotient) R (remainder)
36/2 18 0
18/2 9 0
9/2 4 1
4/2 2 0
2/2 1 0
1/2 0 1
1 0 0 1 0 0= 32 + 4 =
36 √
F- 70
a- 97
e-
So Fae in
binary code is:
1000110
1100001
Group
Work!
The first group
to finish
converting gets
1 point.
1 chance only
per group!
Ready?
Get the binary
code of the word
Bit using the
ASCII SYSTEM.
The correct
answer is?
Bit = 1000010
1101001 1110100
How?
B= 66
=
1000010
i= 105
=
1101001
Let’s
check!
Q R
66/2 33 0 B= 66 √
33/2 16 1
16/2 8 0 =
8/2 4 0
4/2 2 0
1000010
2/2 1 0
1/2 0 1
i= 105
1 00001 =
0 1101001
Q R
105/2 52 1 B= 66 √
52/2 26 0
26/2 13 0 =
13/2 6 1
6/2 3 0
1000010
3/2 1 1
1/2 0 1
i= 105 √
1 1 0 10 =
01 1101001
Q R
116/2 58 0 B= 66 √
58/2 29 0
26/2 14 1 =
14/2 7 0
7/2 3 1
1000010
3/2 1 1
1/2 0 1
i= 105 √
1 1 1 01 =
00 1101001
Kilobyte =
10^3 =
1000bytes
Kilobyte =
2^10 =
1024bytes
megabyte =
10^6 =
1,000,000 bytes
megabyte =
2^20 =
1,048,576 bytes
megabyte =
1024x1024 =
1,048,576 bytes
gigabyte =
10^9 =
1,000,000,000
bytes
gigabyte =
2^30 =
1,073,741,824
bytes
gigabyte =
1024x1024x1024 =
1,073,741,824
bytes
How do we know
the number oF files
that can be stored in
a storage?
1. Get the given values.
Ex: If a 20 KB file is stored in a 1 MB
folder, then how many files can be
stored in that folder?
Given:
File Size: 20 KB
Storage (Folder) Size: 1MB
2. Convert the their unit to
bytes.
HOW DO WE
CONVERT?
2. MULTIPLY THE
GIVEN VALUES TO THE
EQUIVALENT VALUE
PER QANTITY OF
BYTE.
What are the
equivalent bytes
values per quantity
of bytes?
1 KB = 1,024 bytes
1 MB = 1,048,576
bytes
1 GB =
2. CONVERT!
Given:
2. How many 5 MB
mp3 files can be
Answer 6. E
1. C 7. J
2. I 8. B
3. D 9. A
4. F 10. H
5. G
1. Convert Decimal to
Binary:
100
2. How many 5 MB
mp3 files can be
Answer: Q (quotient) R (remainder)
100/2 50 0
50/2 25 0
25/2 12 1
12/2 6 0
6/2 3 0
3/2 1 1
1/2 0 1
1 1 0 0 1 0 0 =64+32 + 4
= 100 √
Given:
FS(avi file): 5 MB x 1,048,576 bytes =
5,242,880 bytes
SS(dvd-r): 1 GB x 1,073,741,824 bytes =
1,073,741,824 bytes
204.8
5,242,880 bytes 1,073,741,824 bytes