What is input validation?
Checking input is sensible and correct
Give examples of input validation?
Range check type check format check presence check
What is a range check?
Ensures number is within a defined range
What is a type check?
Ensures input is the correct data type
What is a format check?
Ensures input matches a specific pattern
What is a presence check?
Ensures a value has been entered
What is error handling?
Detecting and responding to errors in a program
What is defensive programming?
Writing code to prevent and handle errors
What is testing?
Running a program to find and fix errors
What is a syntax error?
Mistake in code that prevents program from running
What is a logic error?
Program runs but produces incorrect results
What is a runtime error?
Error that occurs while the program is running
What is a dry run?
Manually walking through code to check logic
What is a test plan?
Document describing tests to check program works correctly
What is a normal test?
Test with expected/valid input
What is an extreme test?
Test with input at the edge of allowed limits
What is an exceptional test?
Test with invalid or unexpected input
Why is testing important?
To ensure program is reliable and works as expected
What is verification?
Checking that data has been entered correctly
What is validation vs verification?
Validation checks input is sensible verification checks data entry
What is exception handling?
Code to catch and respond to errors
What is debugging?
Finding and fixing errors in code
What is a breakpoint?
A marker to pause program execution for testing
What is trace table?
Table showing variable values at each step of code