Paper 2 - Testing and Design

studied byStudied by 2 people
5.0(1)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 18

19 Terms

1

what is defensive design

a method of designing a program so that it functions properly and doesn’t crash

New cards
2

what ways do programmers try to protect their programs through defensive design

anticipate how users might misuse their program

ensure their code is well maintained

reduce the number of errors in code through testing

New cards
3

what is input validation

checking if data meets certain criteria before passing it into the program

New cards
4

what is range check

checks the data is within a specified range

New cards
5

what is presence check

checks the data has actually been entered

New cards
6

what is a format check

checks the data has the correct format

New cards
7

what is a look-up table

checks the data against a table of acceptable values

New cards
8

what is length check

checks the data is the correct length

New cards
9

what is authentication

a process for checking the identity of the user

New cards
10

what is a syntax error

a grammatical error in code for the programming language

New cards
11

what is a logic error

an error made by the programmer where the program will still run but will output an unexpected result

New cards
12

what are the 2 main types of testing

iterative testing

terminal testing

New cards
13

what is iterative testing

repeated testing of a program during the development process

New cards
14

what is terminal testing

testing the whole program at the end of the development process

New cards
15

what are the categories your test data should fall into

normal data

boundary data

invalid data

erroneous data

New cards
16

what is normal data

things that a user is likely to input into the program

New cards
17

what is boundary data

values at the limit of what the program should be able to handle

New cards
18

what is invalid data

test data with a correct data type that a program should reject

New cards
19

what is erroneous data

inputs with an incorrect data type that should be rejected by the program

New cards

Explore top notes

note Note
studied byStudied by 11 people
980 days ago
5.0(1)
note Note
studied byStudied by 39 people
956 days ago
5.0(3)
note Note
studied byStudied by 7 people
398 days ago
5.0(1)
note Note
studied byStudied by 17 people
853 days ago
5.0(1)
note Note
studied byStudied by 11338 people
656 days ago
4.6(36)
note Note
studied byStudied by 116 people
488 days ago
5.0(1)
note Note
studied byStudied by 30 people
700 days ago
5.0(1)
note Note
studied byStudied by 20 people
828 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (83)
studied byStudied by 57 people
770 days ago
5.0(2)
flashcards Flashcard (40)
studied byStudied by 10 people
728 days ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 2 people
607 days ago
5.0(2)
flashcards Flashcard (59)
studied byStudied by 46 people
273 days ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 14 people
422 days ago
5.0(1)
flashcards Flashcard (71)
studied byStudied by 35 people
492 days ago
5.0(1)
flashcards Flashcard (352)
studied byStudied by 46 people
399 days ago
5.0(1)
flashcards Flashcard (114)
studied byStudied by 2 people
14 minutes ago
5.0(1)
robot