Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 16 - 2610_Springdales_C-7
P. 16

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

                                                             2  16            → 0
                                                             2    8            → 0
                                                             2    4            → 0

                                                             2    2            → 0
                                                                   1            → 0

                  The binary equivalent of (64)  is 1000000
                                                10
                  In other words, (64)  = (1000000)  2
                                      10

                            Interdisciplinary Learning                                                        Activity

                      Write the distance between your school and home in km.
                      Convert this distance in:

                      meter                             binary number system

                  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 at 0 and
                     increase to 1, 2, and so on as you move leftward.

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

                  The given examples will help you understand the conversion.

                  Example 1: Convert (1111)  to decimal number.
                                              2
                                                    2
                                            3
                                                                    0
                                                            1
                                  = 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
                             = 1 × 2  + 0 × 2  + 1 × 2  + 1 × 2  + 1 × 2 0
                                                             1
                                    4
                                                    2
                                            3
                             = 16 + 0 + 4 + 2 + 1
                             = 23
                    (10111)  = (23) 10
                           2

                            Premium Edition-VII
                     14

| 11 12 13 14 15 16 17 18 19 20 21 |