Base Conversion of Decimal Integer Part

Decimal to Binary Conversion 

Base 10 -> Base 2

(51)10 = (?)2

Integer part/2QuotientRemainder
51/2251 (LSB)
25/2121
12/260
6/230
3/211
1/201 (MSB)

                                                                                               Answer: (110011)2

Decimal to Octal Conversion

Base 10 -> Base 8

(151)10 = (?)8

Integer part/8QuotientRemainder
151/8187 (LSB)
18/822
2/802 (MSB)

                                                                                               Answer: (227)8

Decimal to Hexadecimal Conversion

Base 10 -> Base 16

(1938)10 = (?)16

Integer part/16QuotientRemainder
1938/161212 (LSB)
121/1679
7/1607 (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