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

= 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)
               10       8
        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) 10
               8
        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
                  2
          = A × 16  + 1 × 16 + 9 × 1
          = 10 × 256 + 16 + 9
          = 2585
          (A19)  = (2585) 10
                16
        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
               7        3        2
               ↓        ↓        ↓
              111      011      010
          (732)  = (111011010) 2
               8


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