Base 10 -> Base 2
(51)10 = (?)2
Integer part/2 | Quotient | Remainder |
51/2 | 25 | 1 (LSB) |
25/2 | 12 | 1 |
12/2 | 6 | 0 |
6/2 | 3 | 0 |
3/2 | 1 | 1 |
1/2 | 0 | 1 (MSB) |
Answer: (110011)2
Decimal to Octal Conversion
Base 10 -> Base 8
(151)10 = (?)8
Integer part/8 | Quotient | Remainder |
151/8 | 18 | 7 (LSB) |
18/8 | 2 | 2 |
2/8 | 0 | 2 (MSB) |
Answer: (227)8
Decimal to Hexadecimal Conversion
Base 10 -> Base 16
(1938)10 = (?)16
Integer part/16 | Quotient | Remainder |
1938/16 | 121 | 2 (LSB) |
121/16 | 7 | 9 |
7/16 | 0 | 7 (MSB) |
Answer: (792)16
To convert a decimal integer part to any base-r system, division is done by r. |
No comments:
Post a Comment