Page 13 - Computer Genius Class 07
P. 13

Example 2:  on ert the decimal num er     i.e.        to  inary.
                                                                       1
                                                          2

                                                          2   2
                                                          2  1
                                                          2

                                                          2
                                                          2    2

                                                                1
                 The  inary e ui alent o        is 1
                                              1
                  n other  ords           1
                                     1              2
                 Binary to Decimal Conversion

                 To con ert a  inary num er into a decimal num er   ollo  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 gi en e amples  ill help you understand the con ersion.
                 Example 1:  on ert  1111   to decimal num er.
                                             2
                                                           1

                                                   2

                                   1   2    1   2    1   2    1   2
                                           2   1
                                        1
                             1111      1
                                  2       1
                 Example 2:  on ert  1 111   to decimal num er.
                                              2
                                                   2


                                                            1
                              1   2        2    1   2    1   2    1   2
                              1            2   1
                              2
                    1 111      2
                          2       1
                 Example 3:  on ert  1 1.1 1   to decimal num er.
                                                2
                     Position          2           1                                   1           2

                    Face value         1                       1                       1                      1

                     Weights           2 2         2 1        2                       2  1       2  2        2





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