Base Conversion
1. Decimal to Other Base System
2. Other Base system to Decimal
Decimal to Other Base System :
Step - 1 : Divide the Decimal number (Base 10) to be converted by the values of New Base.
Step - 2 : Get the Remainder from the Step 1 and write it aside.
Step - 3 : Divide the Quotient of the Step 1 by the New Base again.
Step - 4 : Again obtain the Remainder from Step 3 and note it aside.
Repeat these steps, and get the Remainders until the Quotient becomes Zero.
Step - 5 : Arrange the obtained Remainders in the Reverse Order.
KEY HIGHLIGHTS :
The Remainder that is obtained Last is MOST SIGNIFICANT DIGIT (M.S.D.)
And ,the Remainder that is obtained at the Step 1 is the LEAST SIGNIFICANT DIGIT. (L.S.D.)
Example : Convert 34₁₀ into Binary.
Sol :
On arranging the Remainders in the Reverse Order,
Decimal number , 34₁₀ → (100010)₂.
Example : Convert 79₁₀ into Octal.
Sol :
On arranging the Remainders in the Reverse Order,
Decimal number , 79₁₀ → (117)₈
Example : Convert 147₁₀ into Hexadecimal.
Sol :
On arranging the Remainders in the Reverse Order,
Decimal number , 147₁₀ → (93)₁₆
Other Base System to Decimal
Step 1 : Multiply the powers of the numbers in an increasing order with their respective Bases from Right to Left.
Example : Convert (47)₈ to decimal.
Sol :
Required Conversion is :
(47)₈ → (39)₁₀
Other Base System to Non - Decimal
Step 1 : Convert Other Base to Decimal (Base 10)
Step 2 : Convert Decimal to New Base System
Example : Convert (23)₈ to Binary.
Sol : First convert the Octal into the Decimal.
Then, convert the Decimal into Binary
Required Conversion is :
(23)₈ → (19)₁₀ → (10011)₂
Comments
Post a Comment