8.07.2014

How to Add Binary Numbers In Computer

What is Binary Number System in Computer?
In binary number system, there are only two number available to represent the numeric values says 0 and 1.
There are 2 symbol (i.e. 0 and 1) used in binary number system, so it is also called base-2 numerical system.

Example of Binary Number:
011, 1110, 101001, 111001011

Before we start that how to add binary numbers, first of all you should know that what will be values of decimal in binary, so below tables give you reference or cross check that binary number addition is correct or incorrect.



S.No. Decimal Binary
1. 0 0
2. 1 1
3. 2 10
4. 3 11
5. 4 100
6. 5 101
7. 6 110
8. 7 111
9. 8 1000
10. 9 1001
11. 10 1010
Table: Comparison of Decimal and Binary Numbers

How to add binary number in computer?
It is simple as we add the decimal number. keep in mind the following trick to addition of binary numbers as:
Rules No. Condition Result Remark
1. 0 + 0 0 -
2. 0 + 1 1 -
3. 1 + 0 1 -
4. 1 + 1 0 carry 1 to next column
5. 1 + 1 + 1 1 carry 1 to next column
Table: Binary number addition rules

Let's we understand the how to add binary number in computer through an example as:
Let's we want to add two decimal number 8+4=12.
When we convert these number decimal to binary, we get:
8 in Binary 1 0 0 0 and,
4 in Binary 1 0 0
Below figure shows the step by step with explanation that how to add these binary numbers:

How to add two binary numbers in computer
Figure: How to add two binary numbers in computer
You can cross check the your answer, through convert the binary value to decimal and add them as we are doing in daily life, after that compare the both values if both are equal, thump's up friend, you  done it, Cheers!!
Four your practice, add the following binary numbers:
(for your  cross check binary addition result, i also write down answer.)

   1 0 1 0 0                      0 0 1 1 1 0                         1 1 0                      1 1 0 0 1 1 1
+ 0 1 1 0 1                  + 1 0 0 1 1 0                       + 1 1 0                  + 1 0 1 1 0 1 1
------------------                 --------------------                ------------                ---------------------
 1 0 0 0 0 1                     1 0 1 1 0 0                      1 1 0 0                   1 1 0 0 0 0 1 0
------------------                  --------------------               ------------                 --------------------


You might also like:

  1. How to convert Decimal number to Binary numbers in Computer?

No comments:

Post a Comment