Back to Number Systems

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Representation of numbers
For your topic:
Number Systems · Computer Science - 0478

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

3 lessons from Oak National Academy

Lesson 1 of 3 · 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.

Key learning points

  1. Binary shifting is shifting the bits to the left or to the right.
  2. If you shift to the left, you multiply the number by a power of 2.
  3. If you shift to the right, you divide the number by a power of 2.
  4. Overflow is when a number is too large to be stored in allocated memory.
  5. 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.

What is an overflow in binary operations?
Which of the following can cause overflow?
What should be considered when storing binary multiplication results?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 3 · GCSE level, ages 14 to 16

Hexadecimal number conversions

By the end: I can convert decimal numbers to and from hexadecimal numbers.

Key learning points

  1. Hexadecimal is a base-16 number system.
  2. Binary numbers can be converted to and from hexadecimal.
  3. Decimal numbers can be converted to and from hexadecimal.

Keywords

hexadecimal
a base-16 number system that uses the digits 0 to 9 and the letters A, B, C, D, E and F
decimal
a base-10 number system that uses the digits 0 to 9
binary
a number system that uses the digits 0 and 1 to represent data

A common mistake

Mistake: You have to convert an 8 bit binary number in one go.

In fact: As a hexadecimal digit can be represented by 4 binary digits, it is useful to convert binary numbers in nibbles (4-bits at a time). This way each digit can be converted separately and then recombined for the final value.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What is the hexadecimal number F5 in decimal?
The hexadecimal value F1 is equal to which binary value?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 3 of 3 · GCSE level, ages 14 to 16

Why do computers use binary?

By the end: I can explain why computers use binary to represent all data and instructions.

Key learning points

  1. Computers use binary to represent all data and instructions.
  2. Binary is a number system consisting of 1s and 0s.
  3. Binary can be represented by two-state electrical signals within circuits.
  4. A transistor that is “on” represents a 1; a transistor that is “off” represents a 0.

Keywords

data
facts and figures in their raw form
binary
a number system that uses the digits 0 and 1 to represent data
instruction
directions on how to carry out a specific task
transistor
a tiny electronic switch controlled by electricity

A common mistake

Mistake: Computers use binary for data and instructions but they can use other number systems just as easily.

In fact: Computers have to use binary as they are powered by electrical circuits which contain transistors which can be switched on and off using electricity. Using other number systems would require more complex circuitry.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Why do computers use binary?
What types of data can be represented by binary when stored on a computer?
Five binary digits allow 32 combinations, six binary digits allow 64 combinations. How many combinations can we represent with eight binary digits?

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.