Defensive Design Flashcards

OCR GCSE J277 Computer Science specification

Defensive Design

A method of designing programs to anticipate misuse and ensure they function correctly under all circumstances.

1 / 10

Ready to master these flashcards?

Sign in to study with spaced repetition and track your progress.

Sign In to Track Progress

Terms in this set (10)

1

Defensive Design

A method of designing programs to anticipate misuse and ensure they function correctly under all circumstances.

2

Purpose of Defensive Design

To make programs robust, reliable, and secure by preventing errors and misuse.

3

Input Validation

The process of checking that data entered by a user meets specific criteria before processing it.

4

Authentication

A method of verifying the identity of a user, often using passwords or other security measures.

5

Maintainability

The ease with which a program can be understood, modified, and extended by other developers.

6

Naming Conventions

A practice in defensive design where variables, functions, and other elements are given meaningful names to improve readability.

7

Indentation

A technique used to structure code visually, making it easier to read and understand.

8

Commenting

Adding notes within the code to explain its purpose and functionality, aiding future developers.

9

Iterative Testing

Testing a program repeatedly during development to identify and fix issues early.

10

Final/Terminal Testing

Testing a program at the end of development to ensure it meets requirements and functions correctly.

Genie

Want to Learn More?

Get personalised lessons, quizzes, and instant feedback from your AI tutor.

Start Learning