Addition of Binary Numbers-Notes-Hwrk
Addition of Binary Numbers-Notes-Hwrk
• 0+0=0
• 0+1=1
• 1+0=1
• 1 + 1 = 0 carry 1
Carrying Values
• Similar to decimal addition, where carrying occurs if the sum of a
column is greater than 1.
• For example: ( 97 + 64 ) in decimal uses carrying from each column if the
sum exceeds 9.
Examples of Binary Addition
Ex 1: Addition of 00100111
+ 01001010
____________
01110001
• Displays carrying and sum values per column.
Ex 2:
• Convert 126 and 62 into binary.
• Add 01111110 + 00111110 (126 and 62 in binary).
• Result: 10111100, equivalent to 188 in decimal.
1.Add the following pairs of 8-bit binary numbers and show the carry values for
each step:
a) 01101011 + 00110110
b) 11010101 + 01010111
2. Convert the decimal numbers 45 and 73 to binary, then add the binary
numbers. Show each step of the addition, including the carries, and confirm
that your result matches the decimal sum of 118.
3. Add 11110111 + 10110001 using 8 bits. Identify if there is an overflow error, and
explain why it occurs or does not occur. What is the denary (decimal) value of
the result if overflow occurs?
4. Perform the following binary additions and write down the result in both binary
and decimal forms:
a) 10011010 + 01100101
b) 11111111 + 00000001
5. In your own words, explain how the "carry" works in binary addition. Give an
example with three binary digits where the carry affects the final result, and
explain each step.