Computer Science
Perform the following conversions from decimal number to other number systems:
(a) (54)10 = (?)2
(b) (120)10 = (?)2
(c) (76)10 = (?)8
(d) (889)10 = (?)8
(e) (789)10 = (?)16
(f) (108)10 = (?)16
Number System
6 Likes
Answer
(a) (54)10
2 | 54 | Remainder |
---|---|---|
2 | 27 | 0 (LSB) |
2 | 13 | 1 |
2 | 6 | 1 |
2 | 3 | 0 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (54)10 = (110110)2.
(b) (120)10
2 | 120 | Remainder |
---|---|---|
2 | 60 | 0 (LSB) |
2 | 30 | 0 |
2 | 15 | 0 |
2 | 7 | 1 |
2 | 3 | 1 |
2 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (120)10 = (1111000)2.
(c) (76)10
8 | 76 | Remainder |
---|---|---|
8 | 9 | 4 (LSB) |
8 | 1 | 1 |
0 | 1 (MSB) |
Therefore, (76)10 = (114)8.
(d) (889)10
8 | 889 | Remainder |
---|---|---|
8 | 111 | 1 (LSB) |
8 | 13 | 7 |
8 | 1 | 5 |
0 | 1 (MSB) |
Therefore, (889)10 = (1571)8.
(e) (789)10
16 | 789 | Remainder |
---|---|---|
16 | 49 | 5 (LSB) |
16 | 3 | 1 |
0 | 3 (MSB) |
Therefore, (789)10 = (315)16.
(f) (108)10
16 | 108 | Remainder |
---|---|---|
16 | 6 | 12 (C) (LSB) |
0 | 6 (MSB) |
Therefore, (108)10 = (6C)16.
Answered By
2 Likes
Related Questions
Write binary equivalent of the following octal numbers:
(a) 2306
(b) 5610
(c) 742
(d) 65.203
Write binary representation of the following hexadecimal numbers:
(a) 4026
(b) BCA1
(c) 98E
(d) 132.45
Express the following binary numbers into their equivalent octal numbers:
(a) 100101111
(b) 111011010
(c) 1010011
(d) 10011101
Express the following binary numbers into their equivalent hexadecimal numbers:
(a) 1111101101100011
(b) 100000101011100
(c) 1000111010100011
(d) 111011111