Skip to content

Course home

Defensive design

Defensive design

EasyMedium
12345678910
Question 7

A web portal is being developed for recreational drone pilots to log their flights. To submit a flight log, pilots must enter several details, including the flight duration in minutes (which must be between 10 and 120), a contact mobile phone number, and a unique drone registration ID.

Validating inputs is a key element of defensive design, ensuring that only clean, logical data enters the system.

Identify two different validation techniques and explain how each can be used to validate the inputs in this flight logging system.

[6]
Markscheme

Defensive design Questions

  1. GCSE
  2. /Computer Science
  3. /Defensive design

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

Question bank