You are on page 1of 5

Name: Angeline T.

Respondo Course: BSIT 1B


Instructor: Randy Gastador Date: Oct.07, 2021
QUIZ
PART I
Decimal to Binary
• 810 = 10002
Division Quotient Remainder Binary
8/2 4 0 0
4/2 2 0 00
2/2 1 0 000
1/2 0 1 1000

• 6110 = 1111012
Division Quotient Remainder Binary
61/2 30 1 1
30/2 15 0 01
15/2 7 1 101
7/2 3 1 1101
3/2 1 1 11101
1/2 0 1 111101

• 7510 = 10010112

Division Quotient Remainder Binary


75/2 37 1 1
37/2 18 1 11
18/2 9 0 011
9/2 4 1 1011
4/2 2 0 01011
2/2 1 0 001011
1/2 0 1 1001011
• 11710 = 11101012
Division Quotient Remainder Binary
117/2 58 1 1
58/2 29 0 01
29/2 14 1 101
14/2 7 0 0101
7/2 3 1 10101
3/2 1 1 110101
1/2 0 1 1110101

• 51210 = 10000000002
Division Quotient Remainder Binary
512/2 256 0 0
256/2 128 0 00
128/2 64 0 000
64/2 32 0 0000
32/2 16 0 00000
16/2 8 0 000000
8/2 4 0 0000000
4/2 2 0 00000000
2/2 1 0 000000000
1/2 0 1 1000000000

Binary to Decimal
• 10000000002 = 51210
=1*2^9 + 0*2^8 + 0*2^7 + 0*2^6 + 0*2^5 + 0*2^4 + 0*2^3 + 0*2^2 +
0*2^1 + 0*2^0
=1*512 + 0*256 + 0*128 + 0*64 + 0*32 + 0*16 + 0*8 + 0*4 + 0*2 + 0*1
=512 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0
=512
• 1111012 = 6110
=1*2^5 + 1*2^4 + 1*2^3 + 1*2^2 + 0*2^1 + 1*2^0
=1*32 + 1*16 + 1*8 + 1*4 + 0*2 + 1*1
=32 + 16 + 8 + 4 + 0 +1
=61

• 10002 = 810
=1*2^3 + 0*2^2 + 0*2^1 + 0*2^0
=1*8 + 0*4 + 0*2 + 0*1
=8 + 0 + 0 + 0
=8

• 11101012 = 11710
=1*2^6 + 1*2^5 + 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 1*2^0
=1*64 + 1*32 + 1*16 + 0*8 + 1*4 + 0*2 + 1*1
=64 + 32 + 16 + 0 + 4 + 0 + 1
=117

• 10010112 = 7510
=1*2^6 + 0*2^5 + 0*2^4 + 1*2^3 + 0*2^2 + 1*2^1 + 1*2^0
=1*64 + 0*32 + 0*16 + 1*8 + 0*4 + 1*2 + 1*1
=64 + 0 + 0 + 8 + 0 + 2 + 1
=75
Decimal to Octal
• 810 = 108
Division Quotient Remainder Digit
8/8 1 0 0
1/8 0 1 10

• 6110 = 758
Division Quotient Remainder Digit
61/8 7 5 5
7/8 0 7 75

• 7510 = 1138
Division Quotient Remainder Digit
75/8 9 3 3
9/8 1 1 13
1/8 0 1 113

• 11710 = 1658
Division Quotient Remainder Digit
117/8 14 5 5
14/8 1 6 65
1/8 0 1 165

• 51210 = 10008
Division Quotient Remainder Digit
512/8 64 0 0
64/8 8 0 00
8/8 1 0 000
1/8 0 1 1000
Octal to Decimal
• 108 = 810
=1*8^1 + 0*8^0
=8

• 1658 = 11710
=1*8^2 + 6*8^1 + 5*8^0
=1*64 + 6*8 + 5*1
=64 + 48 + 5
=117

• 10008 = 51210
=1*8^3 + 0*8^2 + 0*8^1 + 0*8^0
=1*512 + 0*64 + 0*8 + 0*1
=512

• 358 = 2910
=3*8^1 + 5*8^0
=3*8 + 5*1
=24 + 5
=29

• 758 = 6110
=7*8^1 + 5*8^0
=7*8 + 5*1
=56 + 5
=61

You might also like