






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
for help you more about binary
Typology: Papers
1 / 11
This page cannot be seen from the preview
Don't miss anything!
Binary addition is much easier than the decimal addition when you remember the following tricks or rules. Using these rules, any binary number can be easily added. The four rules of binary addition are:
Now, look at the example of the binary addition:101 + 101 Procedure for Binary Addition of Numbers: 101 (+) 101
A few examples of binary additions are as follows: Example 1: 10001 + 11101 Solution: 1 1 0 0 0 1 (+) 1 1 1 0 1 โโโโโโโโ 1 0 1 1 1 0 Example 2: 10111 + 110001 Solution: 1 1 1 1 0 1 1 1 (+) 1 1 0 0 0 1 โโโโโโโโ 1 0 0 1 0 0 0
Example 1: 0011010 โ 001100 Solution: 1 1 Borrow 0 0 1 1 0 1 0 (-) 0 0 1 1 0 0 โโโโโโ 0 0 0 1 1 1 0 Decimal Equivalent : 0 0 1 1 0 1 0 = 26 0 0 1 1 0 0 = 12 Therefore, 26 โ 12 = 14 The binary resultant 0 0 0 1 1 1 0 is equivalent to the 14
Example 2: 0100010 โ 0001010 Solution: 1 1 Borrow 0 1 0 0 0 1 0 = 34 10 (-) 0 0 0 1 0 1 0 = 10 10 โโโโโโ 0 0 1 1 0 0 0 = 24 10
Binary multiplication is one of the four binary arithmetic. The other three fundamental operations are addition, subtraction and division. In the case of a binary operation, we deal with only two digits, i.e. 0 and 1. The operation performed while finding the binary product is similar to the conventional multiplication method. The four major steps in binary digit multiplication are:
The binary multiplication operation is actually a process of addition and shifting operation. This process has to be continued until all the multiplier is done, and finally, the addition operation is made. Similar to the decimal system, the multiplication of the binary numbers is done by multiplying the multiplicand with the multiplier. It is noted that the multiplication by zero makes all the bits zero, and this step may be ignored in the intermediate steps. The multiplication by 1 makes all the multiplicand value unchanged.
Examples of Binary Multiplication Some binary multiplication examples are given below for a better understanding of this concept. Example 1 : Solve 1010 ร 101 Solution: 1010 ร 101 1010 (ร) 101 โโโโโโ 1010 0000 โโโโโโ 01010 โฆโฆ. First Intermediate Sum 1010 โโโโโโโ 110010 Comparison with Decimal values: 10102 = 1 (^010) 10102 = (^510) 10 x 5 = 5 (^010) (110010) 2 = 5 (^010) Another example of binary multiplication with a decimal point is as follows: Question: 1011.01 ร 110. Solution: