errors and testing Flashcards
What are the two main types of errors?
Logic and syntax errors.
What is a syntax error?
A syntax error is when the code written does not follow the rules of the language.
This means that the compiler can’t translate the program into machine code so the program will not run.
What is a logic error?
A logic error is when the compiler is able to run the program, but the program does something which is not expected.
What is a difference between syntax and logic errors?
Logic error are more difficult to find.
What is inclusive data?
It is data which uses a number range of 1 - 100.
What is normal data?
Data which is clearly in the given range.
What is boundary data?
It is data on the boundaries of the valid range.
What is erroneous data?
It is data outside of the range which will not be accepted.
What type of error is a trace table used for?
Logic errors.
What does a test plan do?
It keeps track of possible tests that will be run on the system after coding.