Page 13 - Plus_V2.2_C7_Flipbook
P. 13

Example 2: Convert the decimal number 64, i.e., (64)  to binary.
                                                                      10

                                                                           Let’s CatCh uP

                  2  64                                              Convert the decimal number 91 into binary.

                  2  32           0
                  2  16           0

                  2    8           0  (64)  = (1000000)
                                        10             2
                  2    4           0
                  2    2           0

                       1            0







                        BINARY TO DECIMAL CONVERSION


                 To convert a binary number into a decimal number, follow these steps:
                   Start from the right-most digit known as the LSD before the fractional point, and move leftwards.
                   While doing so, multiply each digit by 2 raised to a particular power. The powers of 2 start from 0
                   and increase to 1, 2, and so on as you move leftwards.

                   Add up all the resulting products. You will get your decimal number.

                 The following examples will help you to understand the conversion.
                 Example 1: Convert (1111)  to decimal number.
                                          2
                                           2
                                    3
                                                  1
                                                        0
                             = 1 × 2  + 1 × 2  + 1 × 2  + 1 × 2
                             = 8 + 4 + 2 + 1
                               = 15
                       (1111)  = (15) 10
                           2
                 Example 2: Convert (10111)  to decimal number.
                                           2
                                          3
                                                 2
                                                       1
                                  4
                                   = 1 × 2  + 0 × 2  + 1 × 2  + 1 × 2  + 1 × 2 0
                                   = 16 + 0 + 4 + 2 + 1
                                   = 23
                       (10111)  = (23) 10
                             2
                 Example 3: Convert (101.101)  to decimal number.
                                              2
                     Position          2           1           0                      –1          –2          –3

                    Face value         1           0           1           •           1          0           1
                     Weights           2 2         2 1        2 0                     2 –1        2 –2       2 –3





                                                                                                  Number System    11
   8   9   10   11   12   13   14   15   16   17   18