Note AcademyNote Academy

Computer Science · May / June 2025 · Paper 21 · Question 4

2210

As printed in the paper

The question as text

A telephone number with 13 characters is input. The first character is a ‘+’, followed by a 2-digit country code, for example: +20xxxxxxxxxx where 20 is the country code and x is a digit between 0 and 9 inclusive. The algorithm includes checks for the country codes: 44 for the UK and 20 for Egypt.

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 4(a)[5]

  • 4(b)[3]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.