Explain binary arithmetic operation along with example
Answers
Answer:
In binary number system there are only 2 digits 0 and 1, and any number can be represented by these two digits. The arithmetic of binary numbers means the operation of addition, subtraction, multiplication and division. Binary arithmetic operation starts from the least significant bit i.e. from the right most side. We will discuss the different operations one by one.
Binary Addition
There are four steps in binary addition, they are written below
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0 (carry 1 to the next significant bit)
An example will help us to understand the addition process.
Let us take two binary numbers 10001001 and 10010101
example of binary arithmetic clearly explains the binary addition operation, the carried 1 is shown on the upper side of the operands.
Binary Subtraction
Here are too four simple steps to keep in memory
0 – 0 = 0
0 – 1 = 1, borrow 1 from the next more significant bit
1 – 0 = 1
1 – 1 = 0
A binary arithmetic example is given to understand the operation more clearly
Binary Multiplication
Here are also four steps to be followed, which are
0×0=0
1×0=0
0×1=0
1×1=1 (there is no carry or borrow for this)
Binary Division
Binary division is comprised of other two binary arithmetic operations, multiplication and subtraction; an example will explain the operation more easily.
Binary arithmetic is used in digital systems mainly because the numbers (decimal and floating-point numbers) are stored in binary format in most computer systems. All arithmetic operations such as addition, subtraction, multiplication, and division are done in binary representation of numbers.12-Feb-2019