0% found this document useful (0 votes)
13 views

Binary Basic Computation

Binary basic computation - Basic computation for binary Binary basic computation - Basic computation for binary

Uploaded by

jrobertzz616
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Binary Basic Computation

Binary basic computation - Basic computation for binary Binary basic computation - Basic computation for binary

Uploaded by

jrobertzz616
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

BINARY

BASIC COMPUTATION
BINARY ADDITION

• 0+0= 0
• 0+1= 1
• 1+0= 1
• 1+1= 10 (which is 0, and you carry
over 1)
EXAMPLE

1011 1+
1+
1 = 10 (write 0, carry 1)
0 + 1 = 10 (write 0, carry

+ 1101 1)
0+ 1 + 1 = 10 (write 0, carry
1)
------- 1+ 1 = 10 (write 0, carry 1)

11000
Bring down the carry,
so the result is 11000.
EXAMPLE

1001 1 + 1 = 10 (write 0, carry 1)


0 + 1 + 1 = 10 (write 0,

+ 0111 carry 1)
0 + 1 + 0 = 01 (write 1, no

------- carry)
1 + 0 = 1 (write 1)

10000 Result: 10000


BINARY SUBTRACTION

• 0−0=0
• 1−0=1
• 1−1=0
• 0 − 1 = 1 (borrow 1 from the next
column)
EXAMPLE

10101 1
0


1
0
=
=
0
0

- 01101 1
0


1
1
=
=
0
1 (borrow 1 )
1 − 0 = 1
--------
01000
EXAMPLE

1 − 1 = 0
1 − 0 = 1
1111 1 − 1 = 0
1 − 0 = 1
- 0101
-------- Result: 1010

1010
kindly prepare for
a quiz!
2 ARE YOU READY FOR QUIZ?

1010 + 1101
1001 + 1011

1100 + 0011
1111 + 0110

10101 + 10011
2 ARE YOU READY FOR QUIZ?

1010 + 1101
1001 + 1011

1100 + 0011
1111 + 0110

10101 + 10011
time to check!
binary addition

1010 + 1101 1001 + 1011

1010 1001
+ 1101 + 1011
------ ------
10111 10100
binary addition

1100 + 0011 1111 + 0110

1100 1111
+ 0011 + 0110
------ ------
1111 10101
binary addition

10101 + 10011

10101
+10011
------
101000
binary addition

10101 − 1001 11110 − 011011

10101 11110
- 01001 - 01101
------ ------
01100 10001
binary addition

11001 − 01111 10000 − 01110

11001 10000
- 01111 - 01110
------ ------
01010 00010
binary addition

10110 − 10011

10110
- 10011
------
00011
thank you!

You might also like