Explore

Defensive Design Flashcards
OCR GCSE J277 Computer Science specification
Ready to master these flashcards?
Sign in to study with spaced repetition and track your progress.
Sign In to Track ProgressTerms in this set (10)
Defensive Design
A method of designing programs to anticipate misuse and ensure they function correctly under all circumstances.
Purpose of Defensive Design
To make programs robust, reliable, and secure by preventing errors and misuse.
Input Validation
The process of checking that data entered by a user meets specific criteria before processing it.
Authentication
A method of verifying the identity of a user, often using passwords or other security measures.
Maintainability
The ease with which a program can be understood, modified, and extended by other developers.
Naming Conventions
A practice in defensive design where variables, functions, and other elements are given meaningful names to improve readability.
Indentation
A technique used to structure code visually, making it easier to read and understand.
Commenting
Adding notes within the code to explain its purpose and functionality, aiding future developers.
Iterative Testing
Testing a program repeatedly during development to identify and fix issues early.
Final/Terminal Testing
Testing a program at the end of development to ensure it meets requirements and functions correctly.

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Start Learning