Binary
Learn how to add and subtract binary!
What is binary?
Binary is one of the computer codes that programs the computer to send signals from the CPU to other components of the PC. There are only 2 types (or if you already know binary, 10) of numbers used in the code. They are 0 and 1. Each digit is a bit. 1 digit is 1 bit. 4 digits are 4 bits (or a nibble). 8 digits are 8 bits, and so on and so forth. With enough bits, they make a byte. Enough bytes, kilobytes. Kilobytes to megabytes to gigabytes to terabytes.
Each number is worth double of the previous number. The first digit is 1, the second 2 and the third 4. It carries on like an exponential sequence.
Adding Binary
How do you add one binary code with another?
Remember these rules: odd+odd= even , odd+even= odd. What they basically mean is that 1 (which represents odd) plus by itself would make an even (which is represented by 0). Eg, 10+01= 1+0= 1 and 0+1=1. The answer is 11 but in bit form, it is 3.
Subtracting binary
This is harder than adding. The same rules apply, but in subtraction form. For example, 1-1= 0 and 1-0= 1. For example, 100-010= 4-2=2 which is shown as 010. A bigger example would be 10101-01001= (16+4+1)-(8+1)= 21-9= 12. You make the number into binary, which is 01100.