Back to marketplace

Producing Robust Programs

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

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

Card preview (17)

#1
Front (Question)

How do programmers protect their programs

Back (Answer)

Testing - to reduce the number of errors Prediction of how users may misuse their program and maintaining programs.

#2
Front (Question)

Input sanitisation

Back (Answer)

removes any unwanted charecters

#3
Front (Question)

Input Validation

Back (Answer)

Checks it the data is valid and can be passed into a program

#4
Front (Question)

Presence Check

Back (Answer)

Checks to make sure data has been entered.

#5
Front (Question)

Length Check

Back (Answer)

Checks if the data is the correct length

#6
Front (Question)

Range check

Back (Answer)

checks to see if the data is within the correct range

#7
Front (Question)

Format check

Back (Answer)

Checks it is in the correct format

#8
Front (Question)

Check digit

Back (Answer)

checks to see if numerical data has been entered correctly.

#9
Front (Question)

Look up table

Back (Answer)

Checks against a table of accepted values

#10
Front (Question)

Authentication

Back (Answer)

Where a program confirms the identity of a user before giving them access to the full program. This could be done through usernames and passwords.

#11
Front (Question)

Maintainability

Back (Answer)

Well maintained code is easy to edit without making any errors. Good code will contain: comments, appropriate names for variable and subprograms and indentation.

#12
Front (Question)

Why test a program

Back (Answer)

To make sure there are no errors

#13
Front (Question)

Final/ Terminal Testing

Back (Answer)

The program is tested in one go at the end of production

#14
Front (Question)

Iterative testing

Back (Answer)

The program is tested at regular intervals that means that it is made sure that the program is working all the time.

#15
Front (Question)

Types of Test data

Back (Answer)

Normal - Normal data Boundary - Data close to the edge Erroneous - data outside the limit

#16
Front (Question)

Syntax error

Back (Answer)

something which doesn’t fit the rules or grammar of the programming language.

#17
Front (Question)

Logic Error

Back (Answer)

the program runs but not as expected. Eg: < user instead of >.