0% found this document useful (0 votes)
25 views4 pages

Number Base Conversion Examples

The document provides a series of conversions between different number bases, including binary, decimal, hexadecimal, and octal. Each conversion is detailed with calculations and final answers for various numbers. The conversions include examples such as 10000000 (base 2) to 128 (base 10) and 1F2 (base 16) to binary.

Uploaded by

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

Number Base Conversion Examples

The document provides a series of conversions between different number bases, including binary, decimal, hexadecimal, and octal. Each conversion is detailed with calculations and final answers for various numbers. The conversions include examples such as 10000000 (base 2) to 128 (base 10) and 1F2 (base 16) to binary.

Uploaded by

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

1.

10000000 (base 2) to base-10

1 x 2^7 = 128
0 x 2^6 = 0
0 x 2^5 = 0
0 x 2^4 = + 0
0 x 2^3 = 0
0 x 2^2 = 0
0 x 2^1 = 0
0 x 2^0 = 0
---------
128

Final answer: 128 (base-10)


__________________________________________________________
2. 128 (base-10) to base-16

128/16 = 8 r 0
8/16 = 0 r 8

Final answer: 80 (base-16)


__________________________________________________________
3. 255 (base-10) to base-8

255/8 = 31 r 7
31/8 = 3 r 7
3/8 = 0 r 3

Final answer: 377 (base-8)


__________________________________________________________
4. 00FF (base-16) to base-10

Convert to binary:

0 0 F F
0000 0000 1111 1111 > 0000000011111111 > 11111111

Convert binary to decimal:

1 x 2^7 = 128
1 x 2^6 = 64
1 x 2^5 = 32
1 x 2^4 = + 16
1 x 2^3 = 8
1 x 2^2 = 4
1 x 2^1 = 2
1 x 2^0 = 1
---------
255

Final answer: 255 (base-10)


__________________________________________________________
5. 000100111100 (base-2) to base-16

0001 0011 1100


1 3 C

Final answer: 13C (base-16)


__________________________________________________________
6. 30 (base-8) to base-10

Convert to binary:
3 0
011 000 > 011000 > 11000

Convert binary to decimal:

1 x 2^4 = 16
1 x 2^3 = 8
0 x 2^2 = + 0
0 x 2^1 = 0
0 x 2^0 = 0
---------
24

Final answer: 24 (base-10)


__________________________________________________________
7. ABC (base-16) to base-8

Convert to binary:

A B C
1010 1011 1100 > 101010111100

Convert binary to octal:

101 010 111 100


5 2 7 4

Final answer: 5274 (base-8)


__________________________________________________________
8. 26 (base-8) to base-16

Convert to binary:

2 6
010 110 > 010110 > 10110

Convert to hexadecimal:

0001 0110
1 6

Final answer: 16 (base-8)


__________________________________________________________
9. 64 (base-10) to base-2

64/2 = 32 r 0
32/2 = 16 r 0
16/2 = 8 r 0
8/2 = 4 r 0
4/2 = 2 r 0
2/2 = 1 r 0
1/2 = 0 r 1

Final answer: 1000000 (base-2)


__________________________________________________________
10. 1F2 (base-16) to base-2
1 F 2
0001 1111 0010

Final answer: 000111110010 or 111110010 (base-2)


__________________________________________________________
11. 11011 (base-2) to base-8

011 011
3 3

Final answer: 33 (base-8)


__________________________________________________________
12. 11011 (base-2) to base-16

0001 1011
1 B

Final answer: 1B (base-16)


__________________________________________________________
13. 1234 (base-16) to base-10

1 2 3 4
0001 0010 0011 0100 > 0001001000110100 or 1001000110100

1 x 2^12 = 4096
0 x 2^11 = 0
0 x 2^10 = 0
1 x 2^9 = 512
0 x 2^8 = 0
0 x 2^7 = 0
0 x 2^6 = + 0
1 x 2^5 = 32
1 x 2^4 = 16
0 x 2^3 = 0
1 x 2^2 = 4
0 x 2^1 = 0
0 x 2^0 = 0
----------
4660

Final answer: 4660 (base-10)


__________________________________________________________
14. 1101001 (base-2) to base-16

0110 1001
6 9

Final answer: 69 (base-16)


__________________________________________________________
15. 45 (base-10) to base-16

45/16 = 2 r 13 > D
2/16 = 0 r 2 > 2

Final answer: 2D
__________________________________________________________
Nothing follows.

You might also like