Topic pathway
Producing robust programs
Defensive design, testing, validation, maintainability, and errors.
Exam-board information
CodeQuest is an independent learning platform. It is not endorsed by, affiliated with, or sponsored by OCR, AQA, Edexcel, Pearson, or any exam board. Exam board names and specification references are used only to identify relevant curriculum pathways.
Specification section
Defensive design
Robust program design, anticipating misuse, validation, authentication, maintainability, and clear errors.
-
Lesson 01
What Makes a Program Robust?
Explain how validation helps a program handle invalid input.
-
Lesson 02
Input Validation
Read supplied variables and predict what a short program will display.
-
Lesson 03
Authentication and Access Checks
Read supplied variables and predict what a short program will display.
-
Lesson 04
Maintainability and Readable Code
Read supplied variables and predict what a short program will display.
Specification section
Testing
Testing purpose, test data, test plans, and identifying syntax, logic, and runtime errors.
-
Lesson 01
Why Testing Matters
Read a stated rule and predict what a short program will display.
-
Lesson 02
Syntax Errors and Logic Errors
Read a stated rule and predict what a short program will display.
-
Lesson 03
Test Data: Normal, Boundary and Invalid
Read a stated rule and predict what a short program will display.
-
Lesson 04
Creating a Test Plan
Read a stated rule and predict what a short program will display.