3.2 ProgrammingHigh Exam FrequencyOCR

Defensive Design

Revise Defensive Design in 3.2 Programming for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This is a high-frequency exam topic, so students should expect to explain it clearly under timed conditions.

Sample Flashcards

Why use comments?
To explain code so others can understand and maintain it
What is authentication?
Verifying a user's identity before granting access to a system

Exam questions for Defensive Design

What is the purpose of input validation in a program?

  • A. To check that the user is who they claim to be
  • B. To check that input data meets specified rules before processing
  • C. To encrypt data before it is stored
  • D. To remove duplicate records from a database
1 markfoundation

Describe three different types of validation check, giving an example of each.

3 marksstandard

15

exam-style questions

8

revision flashcards

Ready to revise Defensive Design?

Get personalised daily study plans, adaptive quizzes, and spaced repetition flashcards.

Start revising free