Binary practice questions

Beginner · 10 min read · Updated 28 November 2026

In shortChoose a question type and difficulty above, type your answer and press Check. Questions are generated randomly, so there is no limit — use 4-bit for beginners, 8-bit for the standard school level and 12-bit for a challenge.

Score: 0 / 0

Worksheet: binary to decimal

Try these on paper first, then check with the binary to decimal converter.

  1. 1010 → ?
  2. 1111 → ?
  3. 10000 → ?
  4. 110011 → ?
  5. 11111111 → ?

Answers: 10, 15, 16, 51, 255.

Worksheet: decimal to binary

  1. 6 → ?
  2. 19 → ?
  3. 32 → ?
  4. 100 → ?
  5. 200 → ?

Answers: 110, 10011, 100000, 1100100, 11001000.

Worksheet: binary subtraction

  1. 1010 − 0011 → ?
  2. 10000 − 1 → ?
  3. 11001 − 01110 → ?

Answers: 111 (7), 1111 (15), 1011 (11).

Challenge: decode the message

01000111 00100111 01100100 01100001 01111001

Hint: the second character isn’t a letter. Check it with the binary to text converter.

Frequently asked questions

Can teachers use these binary questions in class?

Yes, freely. Put the page on a projector for whole-class warm-ups, or have students self-mark on their own devices. Nothing is collected or stored.

Do I need to include leading zeros in my answer?

No. 0101 and 101 are both accepted, and a 0b or 0x prefix is ignored.

Related tools and guides