Skip to content

Course home

Input/output

Input/output

EasyMedium
1
Question 1

Promotional voucher codes consist of exactly six characters.

The characters are one upper case letter, followed by three numbers, and then two upper case letters.

H302JK, A119WY, and M004DT are valid codes.

All voucher codes must be validated when entered by a customer.

Complete the table to show two additional validation tests.

For each test, give one example of erroneous data. The example you give should fail only that test.

Validation testErroneous data
Is it exactly 6 characters?B305K
[4]
Markscheme

Input/output Questions

  1. IGCSE
  2. /Computer Science
  3. /Input/output

5 exam-style questions on Edexcel IGCSE Computer Science Input/output. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank