Back to Computer Science

Paper 2

Software Testing and Development

Both
Practice this
Developer working at a laptop

Structured testing prevents costly bugs.

Key Facts

  • Normal test data is within expected range.
  • Boundary data tests limits of the range.
  • Erroneous data checks validation and error handling.

Topics Covered

Test Strategy

What you need to know

  • Use normal, boundary, and erroneous test data.
  • Create expected outcomes before testing.

Exam Tips

  • Explain why each test case is important.

Debugging

What you need to know

  • Find and fix logic, syntax, and runtime errors.
  • Use trace tables or dry runs to locate issues.

Exam Tips

  • Describe the error type and how to fix it.

Maintainability

What you need to know

  • Use comments and meaningful names for clarity.
  • Refactor code to improve readability.

Exam Tips

  • Link good documentation to easier updates.

Key Terms

validation

Automated checks that data is reasonable.

verification

Checking data is entered correctly.

debugging

Finding and fixing errors in code.

Loading practice drills...

Common Exam Questions

Explain the difference between validation and verification.

3 markseasyPaper 2

Model Answer

Validation checks data is sensible; verification checks it is entered correctly.

What examiners want to see

  • Both definitions
  • Clear contrast

Related Topics

Other topics you might find useful

Ready to test your knowledge?

Try exam-style questions on this topic in exam mode

Start Exam Mode