Pearson Edexcel GCSE Computer Science (1CP2)Specification point 2.1.6

Edexcel 1CP2 2.1.6: Hexadecimal

The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.

What it covers

Binary is what the computer uses, but it is long and easy to misread: 11111111 10000000 00000000 is one colour. Hexadecimal, or hex, is base 16, and it writes the same value in a quarter of the digits: FF8000. Web colours, error codes and network addresses are all written in hex, and so is the robot's LED.

  • Sixteen digits
  • Binary and hex
  • Hex and denary
  • Colours in hex
  • Why hex?
Read the free lesson (15 min)

Or do it in the simulator, with tasks that mark themselves

Lessons that teach it

  1. F8.3 Hexadecimal Data representation
    Base 16, converting to binary and denary, and the LED's colour codes.

Try it on a robot

The task from F8.3 Hexadecimal, running here. Change the program and press Run.

The specification is Edexcel's own document; this page says which of our lessons teach point 2.1.6 and is not endorsed by the board.