Software Design and Development (Testing and Documentation) Flashcards
What are the three types of test data?
Normal
Extreme
Exceptional
What is boundary testing?
Testing the first two values outwith the thresshold
What will test tables show?
A column for the expected result
A column for what actually happens when the program runs
What items are tested in a test table?
At least two items of normal data
At least two items of exceptional data
Both extreme values if testing a range of numbers
If are error is found here, which stage of Software Design and Development should the coder revisit?
Design
What are the three types of error?
Syntax
Logic
Execution
What are Syntax errors?
Errors committed by the coder, and are to do with the spelling and grammar of the code
eg. missing a letter
What are Logic errors?
Errors committed by the coder, and are to do with the logical operations and decisions the program must carry out
eg. AND instead of OR
What are Execution errors?
When a program is asked to something which it can’t do, resulting in a crash
eg. Dividing a value by 0