Back to marketplace

2.3 - Producing Robust Programs

No description yet. This curated deck is ready for daily study.

Total cards: 18•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (18)

#1
Front (Question)

What is considered when creating a secure and robust program?

Back (Answer)

• Anticipating misuse • Input sanitisation • Validation • Verification • Authentication • Maintainable code

#2
Front (Question)

What is anticipating misuse?

Back (Answer)

Planning ahead to take steps against potential misuse

#3
Front (Question)

What is input sanitisation?

Back (Answer)

Cleaning up data that has been input by removing non-standard characters

#4
Front (Question)

What is validation?

Back (Answer)

Checking whether input data follows specific criteria to be accepted

#5
Front (Question)

What is verification?

Back (Answer)

Checking whether data that has been entered is correct

#6
Front (Question)

What is authentication?

Back (Answer)

Ensuring only authorised users can gain access to a system

#7
Front (Question)

What is maintainable code?

Back (Answer)

Code that is readable for other programmers

#8
Front (Question)

What should be considered when creating maintainable code?

Back (Answer)

• Using comments so others can understand the purpose of each line of code • Indentation to improve readability • Appropriate variable names • Using subprograms to reuse code and make them easier to test

#9
Front (Question)

What is the purpose of testing?

Back (Answer)

To check that: - Program works correctly no matter what input has been entered - To check there are no errors - User requirements met - Acceptable performance and usability - Unauthorised access prevented

#10
Front (Question)

What is iterative testing?

Back (Answer)

The testing of modules repetitively throughout development

#11
Front (Question)

What is terminal/final testing?

Back (Answer)

Testing that all modules work together (integration testing) at the end of development

#12
Front (Question)

What is a syntax error?

Back (Answer)

A grammatical mistake or a mistake in the rules of the programming language that means a program can’t run

#13
Front (Question)

What is a logic error?

Back (Answer)

A mistake by the programmer where the program runs but will display an incorrect or unexpected output

#14
Front (Question)

What are the four types of test data?

Back (Answer)

• Normal data • Boundary data • Invalid data • Erroneous

#15
Front (Question)

What is normal data?

Back (Answer)

Data that the program should accept without causing errors because it is within the validation limit

#16
Front (Question)

What is boundary data?

Back (Answer)

Data of the correct type which is on the edge of accepted validation limits.

#17
Front (Question)

What is invalid data?

Back (Answer)

Data of the correct data type that does not meet the validation rules and shouldn’t be accepted

#18
Front (Question)

What is erroneous data?

Back (Answer)

Data of the wrong data type that the program cannot process and should not accept