Professional Documents
Culture Documents
Binary Calculations
Binary Calculations
CALCULATION
S
Quarter 2 Module 2
Binary Addition
RULES
•0 + 0 = 0
•0 + 1 = 1
•1 + 0 = 1
•1 + 1 = 0 Carry 1
ADD A FOOTER 3
Example 1:
1 carry
101
+ 001
110
ADD A FOOTER 4
TO CHECK:
In decimal,
101–5
+ 001–1
110–6
ADD A FOOTER 5
Example 2:
1 1 carry
111
+ 111
1110
ADD A FOOTER 6
To Check:
in Decimal
111-7
+ 111-7
1 1 1 0 - 14
ADD A FOOTER 7
Your Turn . . .
101
+ 011
ADD A FOOTER 8
Binary Subtraction
RULES:
•0 - 0 = 0
•1 - 0 = 1
•1 - 1 = 0
•0 - 1 = Borrow 1(equivalent to two 1’s)
ADD A FOOTER 10
Example 1:
0 1
101
- 011
010
ADD A FOOTER 11
To Check:
in Decimal
101-5
- 011-3
010-2
ADD A FOOTER 12
Example 2:
01 1
110
- 11
011
ADD A FOOTER 13
TO CHECK:
In decimal,
110–6
+ 011–3
011–3
ADD A FOOTER 14
Your Turn . . .
100
- 011
ADD A FOOTER 15
Binary Multiplication
RULES:
•0 x 0 = 0
•0 x 1 = 0
•1 x 0 = 0
•1 x 1 = 1
ADD A FOOTER 17
RULES:
•0 / 1 = 0
•1 / 1 = 1
•1 / 0 = meaningless
•0 / 0 = meaningless
ADD A FOOTER 20
RULES:
ADD A FOOTER 21
RULES:
Step 1: First, look at the first two numbers in the dividend and
compare with the divisor. Add the number 1 in the quotient
place. Then subtract the value, you get 1 as remainder.
Step 2: Then bring down the next number from the dividend
portion and do the step 1 process again
Step 3: Repeat the process until the remainder becomes zero
by comparing the dividend and the divisor value.
Step 4: Now, in this case, after you get the remainder value
as 0, you have zero left in the dividend portion, so bring that
zero to the quotient portion.
ADD A FOOTER 22
ADD A FOOTER 23