Page 48 - Computer Science Class 11 Without Functions
P. 48

b.  (11011)  to decimal
                  2
          Face Value        1    1     0    1    1

          Place value       2 4  2 3   2 2  2 1  2 0
                                      1
                        3
                 4
                               2
          = 1 × 2  + 1 × 2  + 0 × 2  + 1 × 2  + 1 × 2 0
          = 16 + 8 + 0 + 2 + 1
          = 27
          (11011)  = (27) 10
                  2
        c.  (195)  to octal
               10
             8   195        Remainder
             8    24            3

             8     3            0
                   0            3

          (195)  = (303) 8
               10
        d.  (706) to decimal
               8
          Face Value         7    0     6
          Place value       8    2  8  1    8  0
          = 7 × 8  + 0 × 8  + 6 × 8 0
                        1
                 2
          = 448 + 0 + 6
          = 454
          (706)  = (454)
               8       10
        e.  (942)  to hexadecimal
               10
            16  942         Remainder

            16    58             14         E
            16     3             10         A

                   0             3

          (942)  = (3AE) 16
               10
        f.  (A19)  to decimal
                16
          Face Value        A     1     9
          Place value      16    16    16 0
                                   1
                              2
          = A × 16  + 1 × 16 + 9 × 1
                  2
          = 10 × 256 + 16 + 9
          = 2585
          (A19)  = (2585)
                16       10
        g. (1010110)   to octal
                    2
           0    0    1  0 1    0 1    1 0


              1        2         6
          (1010110)  = (126) 8
                    2
        h. (732)  to binary
                8

          46   Touchpad Computer Science-XI
   43   44   45   46   47   48   49   50   51   52   53