Page 27 - Computer Class 06
P. 27

2.     Sum up all the products to get result.


                    Example 1 :     (102)   =  (66)    10               Example 2 :     (122)   =  (82)    10
                                                                                                 8
                                             8
                                                                                          1      2      2
                                      1      0      2                                       2      1      0
                                      8 2    8 1    8 0                                   8      8      8
                                      64     0       1                                    64     +    8   +    1
                                                                                          (1×64)+(2×8)+(2×1)
                                      (1×64)+(0×8)+(2×1)
                                                                                          64     +    16   +    2
                                      64       +    0   +    2
                                                                                          =  82
                                      = 66

             Conversion from Binary to Octal Number System

             Rules :
             1.     To  convert  a  binary  number  into  octal,  divide  it  into  groups  of  three  digits

                     starting from right to left.
             2.     If the number of digits is not a multiple of 3, prefix the number with 0’s so that

                     each group contains three digits.
             3.     For each three digit group, convert the 3 bit binary number into an equivalent

                     octal digit.

                 Example 1 :     (111101)   =  (75)                 Example 2 :       (10101011)   =  (253)
                                               2         8                                           2           8
                                      111        101                                  010       101       011
                                        7          5                                    2         5         3

                                       75                                             253
             Conversion from Octal to Binary Number System

             Rules :

             To  convert  an  octal  number  to  binary,  first  convert  the  octal  into  decimal  and  then
             decimal number into binary.

                      Example 1  :    (54)   =  (101100)      2         Step 2   :    (44)   =  (101100)    2
                                             8
                                                                                           10
                      Step 1        :    (54)   =  (44)
                                             8         10                                 2   44       0
                                         5        4                                       2   22       0
                                         8 1      8 0                                     2   11       1
                                         8            1                                   2   5        1
                                                                                          2   2
                                         (5x8)+(4x1)                                                   0
                                                                                              1
                                         40    +      4

                                         =  44
                                                             Answer    :    (54)   = (44)    = (101100)       2
                                                                                            10
                                                                                   8


                                                                                    Computer-6              27
   22   23   24   25   26   27   28   29   30   31   32