Sunday 21 October 2012

Learning Binary Number Operation like A B C ^^


BASIC BINARY NUMBER OPERATION


Hye there, now the session is with me Muhamad Firdaus Afandi Bin Majid, I’m going to explain about basic binary number operation. As we know binary come from the ‘BI’ that means two. So in this case binary also represent two items which are 1 and 0. As for the basic binary number operation it contain four elements. Binary Addition, Binary Subtraction, Binary Multiplication and Binary Division. Hope you understand and enjoy the post ^^


Binary Addition


Basically that we need to know is there are 4 rules that we need to obey in binary addition just as shown in the table.

Binary Rules
Sum
Carry
0 + 0 = 0
0
0
0 + 1 = 1
1
0
1 + 0 = 1
1
0
1 + 1 = 1
0
1
 


Example on how to do Binary Addition


Still don’t understand?? Do not worry, here I included a link that make your understanding a lot more clearer. There are step of images to solve binary addition problems. Check it out.





Binary Subtraction




Next , doing binary subtraction is easy like learning A B C and 1 2 3, just a little more advance of course. Haha. Anyway, still remember how we solve a math equation that have a subtraction on it?? It is quite the same method but different understanding.



On what we learn on primary school, we borrow the number on its left neighbor and then add it to the right number by ten. Just like the image above we borrowed seven and add to the two thus it will become twelve.






Contrary on Binary subtraction is we borrow the value from the value 1 from the borrowed and the value of the borrower that is zero will become 1. Then the subtraction process will go just like in the table below. 

Binary Rules
Sum
Borrow
0 – 0 = 0
0
0
0 – 1 = 1
1
10
1 – 0 = 1
1
0
1 - 1 = 1
0
1
 



We also include some video from the youtube for you to be clear about Binary Subtraction. Credit to d4rkpho3n1x.





Binary Multiplication

Now we move on to the next operation which is Binary Multiplication.

Same like the before two other operation, there are four rules that we should follow in Binary Multiplication.

Binary Rules
Multiply
0 x 0 = 0
0
0 x 1 = 1
0
1 x 0 = 1
0
1 x 1 = 1
1






Binary Division

Now we come to the last part of the basic binary operation which is binary division.

In Binary division follow the same procedure as binary multiplication.

Here I included some tutorial video from the youtube, this time credit goes to David Williams.


 

 

No comments:

Post a Comment