Page 2 - LN
P. 2

Lesson Note



               Conversion of Number System

                From Decimal to Binary (integer)
                Conversion steps:


                 1.  Divide the number by 2.
                 2.  Get the integer quotient for the next iteration.
                 3.  Get the remainder for the binary digit.
                 4.  Repeat the steps until the quotient is equal to 0.
                 5.  Collect the remainder from bottom to top.



















                                                    (283)  = (100011011)
                                                                               2
                                                           10

                From Binary to Decimal (integer)
                Conversion Steps:


                    1.  Define index for each digit of the number from n-1 to 0, where n is the number of
                        digits in the binary number.
                    2.  Equivalent decimal is-
                                 n-2
                          n-1
                                                      0
                                        n-3
                        a.2  + a.2  + a.2 +……………+a.2
                        where a is digit of the binary number

                  (110101) 2 = (?) 10







                  (110101) 2
                                               1
                                                     0
                       5
                                   3
                             4
                                         2
                  =1x2  + 1x2  + 0x2  + 1x2  + 0x2  + 1x2
                  =32+16+0+4+0+1
                        =(53) 10
   1   2   3   4   5   6   7