Wednesday, July 11, 2018

Binary number system

Binary number system 

Introduction:- there are four type of number system.
1. Decimal number system
2. Octal number system
3. Hexa decimal number system
4. Binary number system
1. Decimal number system is what we are using in every day life. Counting from 1 to 2, 2 to 3 till 8 to 9 but when we reach at 9 the number becomes two digit that is 10. We say that one's digit reset to 0 and ten's digit increamented by 1. In this reset takes place after ten digit (0-9) the system is said to be decimal system and its base is 10. The number of digit used before reset to zero is known as base of the number system.
2. Octal system:- In this system base is eight. so after counting from 0 to 7 next count becomes 10. In this system number 8 and 9 are not exists. Again after 17 the next count will 100.
3. Hexa decimal system:- In this system base is 16. to count after 9 the A, B, C, D, E, and F are used to represent numbers 10, 11, 12, 13, 14, 15 respectively. Counting is like 1 to 2 ....... 8 to 9 then 9 to A, A to B, B to C, C to D, D to E, E to F, then F to 10. similarly after complete fill up of two digit that is FF next count will 100.
4. Binary number system:- In this system the base is 2 that's the reason this system is known as binary because binary means 2. There are only two digit 0 and 1.We can count only two thing in this system  for third count the number becomes 2 digit number that is 10. The number of count in any system is equal to the  base number to the power number of digit used. For example in binary system if we use for digit like 0000 then total count can be 2 to power 4 is equal to 16. It mean we can count up to 16 in 4 digit binary number. the number of digit in binary system is also known as number of bits. So we can say 0000 is a 4 bit number. 4 bit number can count from 0 to 15 as 0000 to 1111. Binary system has only two value of bit that 0 or 1 it is similar to electrical system which has only two states that is off or on. This is the reason an electrical system can simulate a binary number system. For 4 bits of  binary number we use four different lines. As the value of binary number the lines or kept off or on. For example to represent binary 0011 the line 1 2 will off and line 3 4 will on.

Decimal number     Binary number       Hexa Decimal number     Octal number ststem
0                                0000                     0                                          0
1                                0001                     1                                          1
2                                0010                     2                                          2
3                                0011                     3                                          3
4                                0100                     4                                          4
5                                0101                     5                                          5
6                                0110                     6                                          6
7                                0111                     7                                          7
8                                1000                     8                                         10
9                                1001                     9                                         11
10                              1010                     A                                         12
11                              1011                     B                                         13
12                              1100                     C                                         14
13                              1101                     D                                         15
14                              1110                     E                                          16
15                              1111                      F                                         17
16                    0001 0000                     10                                         20
please like and share

No comments:

Post a Comment