Skip to main content

Base Conversion

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 : 

Step 

Operation

Quotient

Remainder

Step 1

34 / 2

17

0

Step 2

17 / 2

8

1

Step 3

8 / 2

4

0

Step 4

4 / 2

2

0

Step 5

2 / 2

1

0

Step 6

1 / 2

0

1


On arranging the Remainders in the Reverse Order, 
Decimal  number , 34₁₀ → (100010)₂.   

Example : Convert 79₁₀ into Octal.
Sol : 

Step 

Operation

Quotient

Remainder

Step 1

79 / 8

9

7

Step 2

9 / 8

1

1

Step 3

1 / 801

On arranging the Remainders in the Reverse Order, 
Decimal  number , 79₁₀ → (117)₈

Example : Convert 147₁₀ into Hexadecimal.
Sol : 

Step 

Operation

Quotient

Remainder

Step 1

147/16

9

3

Step 2

9/16 09

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 :

Steps 

Octal Number

Decimal Conversion

Step 1

(47)₈

((4 x 8¹) + (7 x 8⁰))₁₀

Step 2

(47)₈

(32 + 7)₁₀

Step 3

(47)₈

(39)₁₀


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.

Steps

Octal Number

Decimal Conversion

Step 1 

(23)₈

((2 x 8¹) + (3 x 8⁰))₁₀

Step 2

(23)₈

(16 + 3)₁₀

Step 3

(23)₈

(19)₁₀


Then, convert the Decimal into Binary

Steps

Operation

Quotient

Remainder

Step 1

19 / 2

9

1

Step 2

9 / 2

4

1

Step 3

4/ 2

2

0

Step 4

2 / 2

1

0

Step 5

1 / 2

0

1


Required Conversion is :
                 (23)₈ (19)₁₀ (10011)₂

Comments

Popular posts from this blog

Digital Sum Balance (D.S.)

A single digit is obtained by adding all the digits of a number is called Digital Sum Balance (D.S.)   Ex :  12 → 1 + 2 → 3 24 → 2 + 4 → 6 21 → 2 + 1  → 3 9876 → 9 + 8 + 7 + 6 → 30 → 3 + 0 → 3 3452 → 3 + 4 + 5 + 2 → 14 → 1 + 4 → 5 Or,  On Dividing the digits by 9, the obtained Remainder is Digital Sum Balance.  Ex :    12    ━━ = 3                9      24 ━━━ = 6      9    3452 ━━━━ =  5      9 KEY HIGHLIGHTS : The range of D.S. always falls from 0 to 9. When we add 9 to a number, its Digital Sum will not change therefore in order to calculate Digital Sum we need to cancel out  all the 9’s.  9 + 1 → 10 → 1 9 + 2 → 11 → 2 9 + 3 → 12 → 3 9 + 4 → 13 → 4 9 + 5 → 14 → 5 9 + 6 → 15 → 6 9 + 7 → 16 → 7 9 + 8 → 17 → 8 9 + 9 → 18 → 9 Example : 123 45 → 6 → Digital Sum ...

HCF and LCM

HCF and LCM FACTORS / DIVISORS = Numbers that divide any number completely, without leaving any Remainder are its factors. Example : Factors of 72 are 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72.                    Factors of 90 are 1, ,2, 3, 5 , 6, 9, 10, 15, 18, 30, 45, 90 MULTIPLES =   Numbers that fall in tables of any given number are its Multiples. Examples  : Multiples of 12 are 12, 24, 36, 48, 60, 72, 84, 96……                       Multiples of 5 are 5, 10, 15, 20, 25, 30, 35, 40, 45, 50 ….. HIGHEST COMMON FACTOR (H.C.F.) /  GREATEST COMMON DIVISOR (G.C.D.) =   Largest number that divides two or more than two given numbers. Examples : Calculate the  H.C.F. of 45 and 27  Sol : Factors of 45 = 1, 3, 5, 9, 15, 45       ...

Number System (No. of Zeros)

  How to Find Number of Trailing     Zeros in a Factorial or Product Under the topic of Number of Zeros , it is expected to find out the number of trailing zeros at the end of the number. In simple words, it can be said that to calculate the No. of Zeros at the  right side of the number. To make the things more clear, let us take a simple example to understand the concept of Number of Zeros Example : 1234057000 → No. of Trailing zeros →  3                  1050500000 → No. of Trailing zeros → 5                  1.5 x 10⁵ → No. of Trailing zeros → 4 Such Zeros that are represented at the end of the numbers are actually the Trailing Zeros. Now the next thing arises about the formation of Zeros in the Numbers. So, the fundamental regarding the formation of a Zero is the presence of a Pair of ...