Number systems
Number systems
We will study each of these systems one by one in detail after going through
the following number system chart.
To convert a number from the binary to the decimal system, we use the
following steps.
Step 1: Multiply each digit of the given number, starting from the rightmost
digit, with the exponents of the base.
Step 2: The exponents should start with 0 and increase by 1 every time we
move from right to left.
Step 3: Simplify each of the above products and add them.
Let us understand the steps with the help of the following example in which
we need to convert a number from binary to decimal number system.
= (1 × 32) + (0 × 16) + (0 × 8) + (1 × 4) + (1 × 2) + (1 × 1)
= 32 + 0 + 0 + 4 + 2 + 1
= 39
Solution:
Step 1: Identify the base of the required number. Since we have to convert
the given number into the octal system, the base of the required number is 8.
Step 2: Divide the given number by the base of the required number and note
down the quotient and the remainder in the quotient-remainder form. Repeat
this process (dividing the quotient again by the base) until we get the quotient
less than the base.
Step 3: The given number in the octal number system is obtained just by
reading all the remainders and the last quotient from bottom to top.
Solution:
Step 1: Convert this number to the decimal number system as explained in
the above process.
Step 2: Convert the above number (which is in the decimal system), into the
required number system (hexadecimal).
Here, we have to convert 70010 into the hexadecimal system using the above-
mentioned process. It should be noted that in the hexadecimal system, the
numbers 11 and 12 are written as B and C respectively.
Thus, 70010 = 2BC16 → (2)
From the equations (1) and (2), 10101111002 = 2BC16