Page 76 - Computer Science V2.0 Class 11
P. 76

iv.
                      8   889
                      8   111            1

                      8   13             7
                      8    1             5

                           0             1
                    = (1571) 8
                    v.
                      16     789
                      16       49        5

                      16         3       1
                                   0     3

                    (315) 16
                    vi.
                      16     108
                      16         6       C
                                 0       6

                    = (6C) 16
                 5.  Express the following octal numbers into their equivalent decimal numbers.
                    i.  145
                    ii.  6760
                    iii.  455
                    iv.  10.75
               Ans.  i. 145
                     Digits      1               4              5

                     Position    2               1              0
                     Weight      8 2             8 1            8 0
                    Therefore,
                                     2
                    Decimal number = 1×8  +4×8 + 5×8 0
                                         1
                                                   = 1×64 + 4×8 + 5× 1
                                                   = 64 + 32 + 5
                                                   = (101) 10
                    ii.

                     Digits      6             7              6             0
                     Position    3             2              1             0

                     Weight      8 3           8 2            8 1           8 0
                    Therefore,
                    Decimal number = 6×8  +7×8  +6×8 + 0×8 0
                                              1
                                         2
                                     3
                                                   = 6×512 + 7×64 +6×8 + 0× 1
                                                   = 3072 + 448 + 48+0
                                                   = (3568) 10


                62   Touchpad Computer Science (Ver. 2.0)-XI
   71   72   73   74   75   76   77   78   79   80   81