Week002-LabEx (1)
Week002-LabEx (1)
Week002-LabEx (1)
1
Number System
Objective/s:
At the end of this activity, you should be able to:
Convert a given number to any number system.
Provide the detailed step by step procedure.
General Direction: Convert the following number system to the following base as
shown in the table below. Example. Covert 1110 to Decimal, Octal and
Hexadecimal. Note that this laboratory is intended for practice only.
1. Convert 11011101(binary) to base 10, 8 and 16
0 1 1 0 1 1 1 0 1
0 128 64 0 16 8 4 0 1 221
2 1 2 1 4 1
3 3 5 335
1 8 4 2 1 8 4 2 1
8 4 1 8 4 1
Assessments
13 13 DD
25/2 12.5 1
12/2 6 0
6/2 3 0
3/2 1.5 1
1/2 0 1
3.12
25/8 25 – 24 = 1
3*8 = 24
0.375
3/8 3
1.56
25/16 25-16 = 9
1*16 = 16
Octal 0 1 2 3 4 5 6 7
Valu
e
Binar 00 00 01 01 10 10 11 11
Computing Fundamentals
3
Number System
y 0 1 0 1 0 1 0 1
Valu
e
4 2 1 = 7 as
Given
base 8
7 111
0 000
0 0*8^0 = 0 0
8 4 2 1 8 4 2 1
0 0 1 1 1 0 0 0
3 8
Given Base 16
C 1100
Assessments
D 1101
1 0001
1100
101 00012
1 1 1*16^0 = 1*1 = 1
3281
C 1100
D 1101
1100 1101
1 0001
0001
4 2 1 4 2 1 4 2 1 4 2 1 Total
1 1 0 0 1 1 0 1 0 0 0 1
3 2 1 632
6
1