The binary number system is used in the computer systems. The digits 0 and 1 are combined to get different binary numbers like 1001, 11000110 etc. In a binary number, a digit 0 or 1 is called a bit. For example, 1001 is a 4-bit binary number, and, 11000110 is an 8-bit binary number. All kinds of data, be it alphabets, numbers, symbols, sound data or video data, are represented as combination of bits i.e. 0’s and 1’s. Each character is a unique combination of bits. We shall now discuss how to perform basic arithmetic operations in the binary number system.
2.1. Binary Addition
- Start addition by adding the bits in unit column (the rightmost column). Use the rules of binary addition.
- The result of adding bits of a column is a sum with or without a carry.
- Write the sum in the result of that column.
- If carry is present, the carry is carried-over to the addition of the next left column.
- Repeat steps 2-4 for each column, i.e., the tens column, hundreds column and so on.
No comments:
Post a Comment