FREE TOOL · IGCSE AND A LEVEL

Binary Game: Binary, Hex and Two’s Complement Practice

Practise binary, denary, hexadecimal and two’s complement as a game. Answer correctly to move on, get 5 right to unlock the next level, and try not to lose your 3 lives. Levels 1–6 cover IGCSE Computer Science 0478; levels 7–8 add the A Level 9618 two’s complement questions. Every wrong answer shows the full working.

Score 0Streak 0Best 0
Get 5 right to unlock the next level

The 8 levels

  • Level 1: 4-bit binary to denary
  • Level 2: 8-bit binary to denary
  • Level 3: denary to 8-bit binary (click the bits)
  • Level 4: binary to hexadecimal and back
  • Level 5: hexadecimal to denary
  • Level 6: 8-bit binary addition and overflow
  • Level 7 (A Level): two’s complement to denary
  • Level 8 (A Level): denary to two’s complement

Exam tips

In the exam you have no calculator, so learn the place values 128, 64, 32, 16, 8, 4, 2, 1 and always show your working. For hex, split the binary into groups of 4 bits. For two’s complement, remember the most significant bit is worth −128 in 8 bits.

Frequently asked questions

What is the biggest number you can store in 8 bits?

255 (1111 1111) as an unsigned number. In 8-bit two’s complement the range is −128 to +127.

How do you know if binary addition causes overflow?

If the answer needs more bits than are available. In 8 bits, any result above 255 is an overflow error.

How do you make a negative number in two’s complement?

Write the positive number in binary, flip every bit, then add 1. For example, −5: 0000 0101 → 1111 1010 → 1111 1011.

Revise the full topic: IGCSE data representation · A Level information representation · Binary to denary guide

More free tools: Flashcards · Binary and hex converter · Truth table generator · All tools