Skip to content
IGCSE Computer Science 0478 · Algorithm design and problem-solving · 13

0478.7.0.13: – length check – type check – presence check – format check – check digit: past paper questions

35 real questionsasked in 7 of the last 10 exam series2019–2026usually: Describe, Explain, State, Identify, Write

Real questions on 0478.7.0.13: – length check – type check – presence check – format check – check digit

The newest 20 of 35 written questions. Open one to see it on the real paper.

  1. 0478/22 · May/June 2026 · Q3a(i)[1]

    A check to make sure that data has been input and not left blank.

    See it on the paper →
  2. 0478/22 · May/June 2026 · Q3a(ii)[1]

    A value placed at the end of a sequence of numbers in the code. The value is calculated from all the other values before it.

    See it on the paper →
  3. 0478/22 · May/June 2026 · Q3b[3]

    Explain the purpose of a format check and give an example of where it could be used. purpose example

    See it on the paper →
  4. 0478/22 · May/June 2026 · Q3c[6]

    Write the pseudocode for an algorithm to perform a validation check on each number as it is input, using the following criteria: • • • • Input one number at a time. If the number is a whole number, store it in the current element of array Accepted[] If the number is not a whole number, ask for it to be input again unti...

    See it on the paper →
  5. 0478/23 · May/June 2026 · Q3b[3]

    Explain the purpose of a check digit and give an example of where it could be used. purpose

    See it on the paper →
  6. 0478/12 · February/March 2026 · Q9a[3]

    The program will take data from bar codes as input. A bar code includes a check digit. Explain how the check digit is used to check for errors in data entry.

    See it on the paper →
  7. 0478/22 · February/March 2026 · Q2a(i)[1]

    A check to make sure that data input follows a set pattern such as two letters followed by three numbers.

    See it on the paper →
  8. 0478/22 · February/March 2026 · Q2a(ii)[1]

    A check to make sure that only whole numbers can be input.

    See it on the paper →
  9. 0478/21 · October/November 2025 · Q6b[3]

    Explain how you could modify the pseudocode to validate that each input is a single digit. Any code must be fully explained.

    See it on the paper →
  10. 0478/21 · October/November 2025 · Q6c[2]

    The 5-digit number needs to be entered as a single input. Describe one verification method that could be applied to the input of the 5-digit number.

    See it on the paper →
  11. 0478/22 · October/November 2025 · Q2c(i)[2]

    Explain why the given algorithm may not always give the expected results.

    See it on the paper →
  12. 0478/22 · October/November 2025 · Q2c(ii)[2]

    Explain how you could improve the algorithm so that the search is more likely to find the required results.

    See it on the paper →
  13. 0478/22 · October/November 2025 · Q4a[1]

    A length check is a type of validation check. State the purpose of a length check.

    See it on the paper →
  14. 0478/21 · May/June 2025 · Q1[1]

    Tick ( ü ) one box to identify the type of test to only check for the largest or smallest acceptable value. A normal test data B abnormal test data C extreme test data 1

    See it on the paper →
  15. 0478/21 · May/June 2025 · Q2a[4]

    Requirement Validation check Date of birth must be between 01/01/1900 and 01/01/2010. length check (a) Draw one line from each requirement to the most appropriate validation check. Not all validation checks will be used. format check Name has been entered. range check Password has exactly 12 characters. check digit Stu...

    See it on the paper →
  16. 0478/23 · May/June 2025 · Q4b(i)[1]

    State the type of validation check to test that the password meets this requirement.

    See it on the paper →
  17. 0478/22 · February/March 2025 · Q5[6]

    A program is written to only accept data that contains more than 9 characters. The program needs to be tested. The table, when completed, shows appropriate test data that matches the type of test data and the purpose of the test data. Complete the table by inserting the missing information. Test data Type of test data...

    See it on the paper →
  18. 0478/22 · February/March 2025 · Q7c(ii)[1]

    Identify one more error related to inputs when the algorithm is run.

    See it on the paper →
  19. 0478/21 · October/November 2024 · Q1[1]

    Tick (✓) one box to show which check is used for verification when data is input. A length check B range check C type check D visual check

    See it on the paper →
  20. 0478/23 · May/June 2023 · Q5a[4]

    Four descriptions of validation checks are shown. Draw one line to link each description to the most appropriate check. Not all checks will be used. Description Check to check that the data entered is an integer check digit format check to check that some data has been entered length check to check that the data entere...

    See it on the paper →

What examiners said

Comprehensive responses • Many candidates described how a check digit is calculated. • Some candidates described how the check digit checks for an error. Limited responses • Some candidates required more clarity for what was being compared, that the read-in check digit, and the calculated check digit are compared. Some responses stated that the check digit was compared with the data, or the value...

— Examiner report, February/March 2026, 0478/12 Q9(a) (Cambridge)

Comprehensive responses • Most candidates understood that a format check was the correct check in this case. Limited responses • Some candidates confused a format check with a type check.

— Examiner report, February/March 2026, 0478/22 Q2(a)(i) (Cambridge)

Comprehensive responses • Most candidates understood that a type check was the correct check. Limited responses • Some candidates mixed up the name of the check and used incorrect names such as integer check or number check instead.

— Examiner report, February/March 2026, 0478/22 Q2(a)(ii) (Cambridge)

Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.

0478.7.0.13: – length check – type check – presence check – format check – check digit — IGCSE Computer Science 0478 past paper questions | AssessPro