Skip to content

Course home

Testing

Testing

EasyMedium
123456789101112131415161718
Question 4

Elena is developing an automated ticketing program for a regional eco-railway called GreenRail. The rules of the program are:

  • the user selects a travel zone from 1 to 5
  • the user enters the number of tickets to purchase (minimum 1, maximum 10)
  • if the user has an eco-pass, they input an 8-digit serial number to apply a 20% discount
  • if any input is invalid, the system displays an appropriate error message and prompts for reentry.

Complete the table by naming and describing one type of testing (other than unit testing) that should be carried out on Elena's program before it is released to the public.

Testing TypeDescription
[2]
Markscheme

Testing Questions

  1. GCSE
  2. /Computer Science
  3. /Testing

21 exam-style questions on OCR GCSE Computer Science Testing. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank