0% found this document useful (0 votes)
21 views

Hehehe

The document contains examples of converting between binary, decimal, octal, and hexadecimal number systems. It provides step-by-step workings for: 1) Converting binary numbers to decimal, octal, and hexadecimal. 2) Converting decimal numbers to binary, octal, and hexadecimal. 3) Converting between octal and binary and between hexadecimal and decimal.

Uploaded by

Harold. Costelo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Hehehe

The document contains examples of converting between binary, decimal, octal, and hexadecimal number systems. It provides step-by-step workings for: 1) Converting binary numbers to decimal, octal, and hexadecimal. 2) Converting decimal numbers to binary, octal, and hexadecimal. 3) Converting between octal and binary and between hexadecimal and decimal.

Uploaded by

Harold. Costelo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

2⁵) + (0 × 2⁴) + (0 × 2³) + (0 × 2²) + (1

× 2¹) + (1 × 2⁰) = (1251)₁₀


5. 11011011011
(11011011011)₂ = (1 × 2¹⁰) + (1 × 2⁹)
+ (0 × 2⁸) + (1 × 2⁷) + (1 × 2⁶) + (0 ×
2⁵) + (1 × 2⁴) + (1 × 2³) + (0 × 2²) + (1
× 2¹) + (1 × 2⁰) = (1755)₁₀

Binary to Octal
Binary to Hexadecimal
1. 111011101 1. 101110101110
= 111 011 101 = 1011 1010 1110
=735 =BAE
= 7358 = BAE16
2. 101111001101 2. 1001010101
= 101 111 001 101 = 10 0101 0101
=5715 =255
= 57158 = 25516
3. 101100010101 3. 11011011011
=101 100 010 101 = 110 1101 1011
=5425 =6DB
= 54258 = 6DB16
4. 1000000001 4. 1100111101
= 1 000 000 001 = 11 0011 1101
=1001 =33D
= 10018 = 33D16
5. 1010101010 5. 1110101001
= 1 010 101 010 = 11 1010 1001
=1252 =3A9
= 12528 = 3A916
Binary to Decimal
Octal to Binary
1. 111110010101
(111110010101)₂ = (1 × 2¹¹) + (1 × 1. 66
2¹⁰) + (1 × 2⁹) + (1 × 2⁸) + (1 × 2⁷) + = 110 110
(0 × 2⁶) + (0 × 2⁵) + (1 × 2⁴) + (0 × 2³) = 1101102
+ (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 2. 3 6 6 6
(3989)₁₀ = 11 110 110 110
2. 101111011101 = 111101101102
(101111011101)₂ = (1 × 2¹¹) + (0 × 3. 1 4 3 3
2¹⁰) + (1 × 2⁹) + (1 × 2⁸) + (1 × 2⁷) + = 1 100 011 011
(1 × 2⁶) + (0 × 2⁵) + (1 × 2⁴) + (1 × 2³) = 1100011011
+ (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 4. 1234
(3037)₁₀ =1234
3. 011011101110 = 1 010 011 100
(011011101110)₂ = (0 × 2¹¹) + (1 × = 1010011100
2¹⁰) + (1 × 2⁹) + (0 × 2⁸) + (1 × 2⁷) + 5. 435
(1 × 2⁶) + (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) =435
+ (1 × 2²) + (1 × 2¹) + (0 × 2⁰) = = 100 011 101
(1774)₁₀ = 100011101
4. 10011100011
(10011100011)₂ = (1 × 2¹⁰) + (0 × 2⁹)
+ (0 × 2⁸) + (1 × 2⁷) + (1 × 2⁶) + (1 ×
1000000002
2. 128
=128-128
=100000002
3. 64
=64-64
=10000002
4. 33
Octal to Decimal =33-32
1. 12348 = (1 × 8³) + (2 × 8²) + (3 × 8¹) + (4 × =1-1
8⁰) = 66810 =100001
2. 7654 = (7 × 8³) + (6 × 8²) + (5 × 8¹) + (4 × 5. 1
8⁰) = 401210 =1-1
3. 2530 = (2 × 8³) + (5 × 8²) + (3 × 8¹) + (0 × =1
8⁰) = 136810
4. 7651 = (7 × 8³) + (6 × 8²) + (5 × 8¹) + (1 × Decimal to Octal
8⁰) = 400910 1. 1222
5. 6575 = (6 × 8³) + (5 × 8²) + (7 × 8¹) + (5 ×
8⁰) = 345310 Division Remainder
by 8 Quotient (Digit) Digit #
Octal to Hexadecimal
1. 1762 (1222)/8 152 6 0
=1762 (152)/8 19 0 1
= 1 111 110 010 (19)/8 2 3 2
= 11 1111 0010
(2)/8 0 2 3
=3F2
= 3F216 = (2306)8
2. 1777 2. 2222
=1777
= 1 111 111 111 Division Remainder
= 11 1111 1111 by 8 Quotient (Digit) Digit #
=3FF
= 3FF16 (2222)/8 277 6 0
3. 7777 (277)/8 34 5 1
=7777 (34)/8 4 2 2
= 111 111 111 111
(4)/8 0 4 3
= 1111 1111 1111
=FFF = (4256)8
= FFF16
4. 6666 3. 3456
=6666
= 110 110 110 110 Division Remainder
= 1101 1011 0110
by 8 Quotient (Digit) Digit #
=DB6
= DB616 (3456)/8 432 0 0
5. 5656 (432)/8 54 0 1
=5656
(54)/8 6 6 2
= 101 110 101 110
= 1011 1010 1110 (6)/8 0 6 3
=BAE = (6600)8
= BAE 4. 7777

Decimal to Binary
1. 256
=256-256
Division = (F24)16
Remainder
by 8 Quotient 4. 4222
(Digit) Digit #
5.
(7777)/8 972 1 0
(972)/8 121 4 1
(121)/8 15 1 2
(15)/8 1 7 3
(1)/8 0 1 4
= (17141)8
5. 8888

Division Remainder
by 8 Quotient (Digit)
(8888)/8 1111 0
(1111)/8 138 7
(138)/8 17 2
(17)/8 2 1
(2)/8 0 2
= (21270)8

Decimal to Hexadecimal

1. 4444

Division Remainder
by 16 Quotient (Digit)
(4444)/16 277 12
(277)/16 17 5
(17)/16 1 1
(1)/16 0 1
= (115C)16
2. 2666

Division Remainder
by 16 Quotient (Digit)
(2666)/16 166 10
(166)/16 10 6
(10)/16 0 10
= (A6A)16
3. 3876

Division Remainder
by 16 Quotient (Digit)
(3876)/16 242 4
(242)/16 15 2
(15)/16 0 15
Division Remainder × 16¹) + (9 × 16⁰) =
by 16 Quotient (Digit) (10066329)₁₀
3. (989898)₁₆ = (9 × 16⁵) + (8 ×
(4222)/16 263 14
16⁴) + (9 × 16³) + (8 × 16²) + (9
(263)/16 16 7 × 16¹) + (8 × 16⁰) =
(16)/16 1 0 (10000536)₁₀
(1)/16 0 1 4. (696966)₁₆ = (6 × 16⁵) + (9 ×
= (107E)16 16⁴) + (6 × 16³) + (9 × 16²) + (6
5, 1432 × 16¹) + (6 × 16⁰) =
(6908262)₁₀
Division Remainder
5. (987789)₁₆ = (9 × 16⁵) + (8 ×
by 16 Quotient (Digit) 16⁴) + (7 × 16³) + (7 × 16²) + (8
(1432)/16 89 8 × 16¹) + (9 × 16⁰) =
(89)/16 5 9 (9992073)₁₀
(5)/16 0 5 Hexadecimal to Octal
= (598)16 1. 121323
=121323
= 1 0010 0001 0011 0010 0011
Hexadecimal to Binary = 100 100 001 001 100 100 011
1. 642333 =4411443
=642333 = 4411443
= 0110 0100 0010 0011 0011 0011 2. 89999
= 11001000010001100110011 =89999
2. 999999 = 1000 1001 1001 1001 1001
=999999 = 10 001 001 100 110 011 001
= 1001 1001 1001 1001 1001 1001
=2114631
= 100110011001100110011001
= 2114631
3. 888888
3. 878787
=888888
=878787
= 1000 1000 1000 1000 1000
= 1000 0111 1000 0111 1000
1000
0111
= 100010001000100010001000
= 100 001 111 000 011 110 000
4. 989898
111
=989898
=41703607
= 1001 1000 1001 1000 1001
= 41703607
1000
4. 989890
= 100110001001100010011000
=989890
5. 696969
= 1001 1000 1001 1000 1001
=696969
0000
= 0110 1001 0110 1001 0110
= 100 110 001 001 100 010 010
1001
000
= 11010010110100101101001
=46114220
= 46114220
Hexadecimal to Decimal
5. 686867
1. (121211)₁₆ = (1 × 16⁵) + (2 ×
=686867
16⁴) + (1 × 16³) + (2 × 16²) + (1
= 110 1000 0110 1000 0110 0111
× 16¹) + (1 × 16⁰) =
= 11 010 000 110 100 001 100
(1184273)₁₀
111
2. (999999)₁₆ = (9 × 16⁵) + (9 ×
= 3206414
16⁴) + (9 × 16³) + (9 × 16²) + (9
Harold Costelo
Decimal to Binary
BSCE 2-4
Sir James Patrick Galvan 1. 256
2. 128
3. 64
Name: 4. 33
Section: 5. 1

Decimal to Octal

1. 1222
Binary to Octal 2.
1. 111011101 3. 2222
2. 101111001101 4. 3456
3. 101100010101 5. 7777
4. 1000000001 6. 8888
5. 1010101010 Decimal to Hexadecimal
Binary to Decimal 1. 4444
1. 111110010101 2. 2666
2. 101111011101 3. 3876
3. 011011101110 4. 4222
4. 10011100011 5. 1432
5. 11011011011

Binary to Hexadecimal Hexadecimal to Binary

1. 101110101110 1. 642333
2. 1001010101 2. 999999
3. 11011011011 3. 888888
4. 1100111101 4. 989898
5. 1110101001 5. 696969

Octal to Binary Hexadecimal to Octal

1. 66 1. 121323
2. 3666 2. 89999
3. 1433 3. 878787
4. 1234 4. 989890
5. 435 5. 686867

Octal to Decimal Hexadecimal to Decimal

1. 1234 1. 121211
2. 7654 2. 999999
3. 2530 3. 989898
4. 7651 4. 696966
5. 6575 5. 987789

Octal to Hexadecimal

1. 1762
2. 1777
3. 7777
4. 6666
5. 5656

You might also like