The process of counting in binary follows the same principle as decimal.
Binary addition can be achieved with the following facts: 0+0 = 0, 0+1 = 1, 1+1 = 10 and 1+1+1 = 11.
Keywords
addition
a mathematical operation where two or more numbers are combined to find their total
carry
the extra value that moves to the next column when the sum of digits in a place value exceeds the base
A common mistake
Mistake:Pupils will often default to decimal addition, in the fact that 1+1 = 2, whereas in binary 1+1 = 10.
In fact:Remind students that binary only has two digits; 0 and 1. Use the comparisons between binary and decimal addition in the slide deck to illustrate the differences.
Check what you learned
From Oak National Academy's exit quiz. Choose every answer that is right.
A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0.Read the licence
Lesson 2 of 2 · GCSE level, ages 14 to 16
Binary shifts
By the end:I can perform binary shifts to multiply and divide binary numbers, but recognise the errors this may introduce.
Binary shifting is shifting the bits to the left or to the right.
If you shift to the left, you multiply the number by a power of 2.
If you shift to the right, you divide the number by a power of 2.
Overflow is when a number is too large to be stored in allocated memory.
Underflow is when a number is too small to be processed.
Keywords
binary shifting
when binary digits are moved left or right, multiplying or dividing them by powers of 2
overflow
when a number is too large to be represented in the available binary digits
underflow
when a number is too small to be represented in the available binary digits
A common mistake
Mistake:When performing binary multiplication any result can be stored, regardless of how many binary digits are needed.
In fact:The size of a binary number that can be stored is allocated in memory. Sometimes the result of a binary shift may result in a larger binary number that can be stored in the number of bits available.
Check what you learned
From Oak National Academy's exit quiz. Choose every answer that is right.
A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0.Read the licence
The wording comes from each publisher. The layout and the links to your syllabus are ours.