2.3.2 Testing Flashcards
What is the purpose of testing? [3]
Check the program meets the user requirements [1] Check the program works as intended [1] Check the program doesn’t crash when invalid values are entered [1]
What are the two times you can test a program? [2]
Iterative - during development. Testing while making changes [1] Final - when development is complete. [1]
What are the three types of test? [3]
Normal - valid data [1] Boundary - the edges of the valid data [1] Erroneous - invalid data [1]
What is a syntax error? [1]
An error that breaks the rules of the programming language [1]
What is a logic error? [2]
An error that will not stop the code from running [1] but produces an unexpected outcome [1]