NUMBER SYSTEM



1. Number system is a system which is used to represent a number in different formats.

    2. There are four types of number systems. They are:

        a. Binary number system
        b. Octal number system
        c. Decimal number system
        d. Hexadecimal number system.

    3. In binary number system there will be only 2 digits, they are 0 and 1.

    4. The base for binary number system is 2.

    5. In octal number system there will be 8 digits, they are 0 to 7.

    6. The base for octal number system is 8.

    7. In decimal number system there will be 10 digits, they are 0 to 9.

    8. The base for decimal number system is 10.

    9. In hexadecimal number system there will be 16 digits, they are 0 to F.

    10. The base for hexadecimal number system is 16.

    11. We can represent different types of number systems in the following table.


Number  System
        Base
   First  Digit
    Last  Digit
       All digits/characters
    Binary
         2
         0
          1
      0,1
    Octal 
         8
         0 
          7
      0,1------7
    Decimal
        10
         0
          9
      0,1------9
    Hexadecimal
        16
         0
          F
      0,1------F


    12. We can represent the octal number in binary number system as shown in the following table


                             Octal
                         Binary
                                 0
                           000
                                 1
                           001
                                 2
                           010
                                 3
                           011
                                 4
                           100
                                 5
                           101
                                 6
                           110
                                 7      
                           111

   13. We can represent the hexadecimal number in binary number system as shown in the following table



                        Hexadecimal
                           Binary
                               0
                            0000
                               1
                            0001
                               2
                            0010
                               3
                            0011
                               4
                            0100 
                               5
                            0101
                               6
                            0110
                               7
                            0111
                               8
                            1000   
                               9
                            1001
                               A
                            1010
                               B
                            1011
                               C
                            1100
                               D
                            1101    
                               E
                            1110
                               F
                            1111


NEXT TOPIC: CONVERSIONS IN NUMBER SYSTEM