Week002-LabEx (1)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Computing Fundamentals

1
Number System

Week002 – Number System


Laboratory Exercise 001- Practice Laboratory 001

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.

Apply and make used of number system conversion.



What to Prepare for the Activity:


 Pen and paper

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

a. 110111012 to base 10 = 22110


254 128 64 32 16 8 4 2 1

0 1 1 0 1 1 1 0 1

0 128 64 0 16 8 4 0 1 221

b. 110111012 to base 8 = 3358


0 1 1 0 1 1 1 0 1

2 1 2 1 4 1

3 3 5 335

c. 110111012 to base 16 = DD16


0 1 1 0 1 1 1 0 1

1 8 4 2 1 8 4 2 1

8 4 1 8 4 1

Assessments
13 13 DD

2. Convert 25(decimal) to base 2, 8 and 16


a. 2510 to base 2 = 110012
Division of Remainder/Bit
Quotient
2 Value

25/2 12.5 1

12/2 6 0

6/2 3 0

3/2 1.5 1

1/2 0 1

b. 2510 to base 8 = 318


Division of Remainder/Bit
Quotient
2 Value

3.12
25/8 25 – 24 = 1
3*8 = 24

0.375
3/8 3

c. 2510 to base 16 = 1916


Division of Remainder/Bit
Quotient
2 Value

1.56
25/16 25-16 = 9
1*16 = 16

1/16 0.006 1–0=1

3. Convert 70(octal) to base 2, 10 and 16


a. Convert 708 to base 2 = 111 0002

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

b. Convert 708 to base 10 = 5610


7 7*8^1 = 56 56

0 0*8^0 = 0 0

c. Convert 708 to base 16 = 3816


7 111

0 000 111 000

8 4 2 1 8 4 2 1

0 0 1 1 1 0 0 0

3 8

4. Convert CD1(hexadecimal) to base 2,10 and 8

a. Convert CD1 (hexadecimal) to base 2 = 1100 1101 00012

Given Base 16

C 1100

Assessments
D 1101

1 0001

1100
101 00012

b. Convert CD1 (hexadecimal) to base 10 = 328110


C*16^2 = 12*16^2 = 12*256 =
C 12
3072

D 13 D*16^1 = 13*16 = 208

1 1 1*16^0 = 1*1 = 1

3281

c. Convert CD1 (hexadecimal) to base 8 = 63218

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy