Photo AI

Last Updated Sep 26, 2025

Selecting & Using Suitable Test Data Simplified Revision Notes

Revision notes with simplified explanations to understand Selecting & Using Suitable Test Data quickly and effectively.

user avatar
user avatar
user avatar
user avatar
user avatar

496+ students studying

Selecting & Using Suitable Test Data

When testing a program, test data is the input provided to check how the system behaves. To ensure that the program works correctly and handles different types of inputs, it's important to use a variety of test data.

Types of Test Data

Normal/Valid Data

  • Data that represents typical, expected input values.
  • It should be accepted by the program without causing errors.
  • Example: For a range between 1-10, 5 is normal test data.

Boundary Test Data

  • Data that is on the edge of being valid but still within the acceptable range.
  • Used to ensure the program can handle values at the upper or lower limits.
  • Example: For a range between 1-10, 1 and 10 are boundary values.

Invalid Data

  • Data that is the correct type but falls outside the valid range.
  • The program should reject this data.
  • Example: For a range between 1-10, 0 or 11 would be invalid.

Erroneous Data

  • Data that is the wrong type or completely unexpected (e.g., letters instead of numbers).
  • The program should reject such data.
  • Example: Entering A when the program expects a number.

Test Plan

A test plan outlines the approach for testing a program, including what will be tested, the test data used, and the expected result. This ensures all possible input cases are covered and helps identify any issues in the program.

Key Components of a Test Plan

  • Purpose of the test: What are you testing (e.g., input validation, functionality)?
  • Test data: The values you will input during the test.
  • Expected result: What the program should do in response to the test data.

Example Test Plan for Input Validation

Test NoWhat is Being TestedTest DataExpected Result
1Normal values inside the range are accepted5 (Valid)Value is accepted
2Values outside the range are rejected12 (Invalid)Value is rejected
3The last value in the range is accepted10 (Boundary)Value is accepted
4Values just outside the range are rejected11 (Invalid)Value is rejected
5Data of the wrong type is rejectedA (Erroneous)Value is rejected
infoNote

Key Points for Effective Testing

  • Normal test data ensures the program functions correctly with the expected input.
  • Boundary test data checks how the program handles the limits of the acceptable range.
  • Invalid and erroneous data test whether the program can correctly reject unsuitable inputs.
Books

Only available for registered users.

Sign up now to view the full note, or log in if you already have an account!

500K+ Students Use These Powerful Tools to Master Selecting & Using Suitable Test Data

Enhance your understanding with flashcards, quizzes, and exams—designed to help you grasp key concepts, reinforce learning, and master any topic with confidence!

70 flashcards

Flashcards on Selecting & Using Suitable Test Data

Revise key concepts with interactive flashcards.

Try Computer Science Flashcards

7 quizzes

Quizzes on Selecting & Using Suitable Test Data

Test your knowledge with fun and engaging quizzes.

Try Computer Science Quizzes

6 questions

Exam questions on Selecting & Using Suitable Test Data

Boost your confidence with real exam questions.

Try Computer Science Questions

27 exams created

Exam Builder on Selecting & Using Suitable Test Data

Create custom exams across topics for better practice!

Try Computer Science exam builder

13 papers

Past Papers on Selecting & Using Suitable Test Data

Practice past papers to reinforce exam experience.

Try Computer Science Past Papers

Other Revision Notes related to Selecting & Using Suitable Test Data you should explore

Discover More Revision Notes Related to Selecting & Using Suitable Test Data to Deepen Your Understanding and Improve Your Mastery

96%

114 rated

Defensive Design & Testing

Defensive Design Considerations

user avatar
user avatar
user avatar
user avatar
user avatar

499+ studying

187KViews

96%

114 rated

Defensive Design & Testing

Input Validation

user avatar
user avatar
user avatar
user avatar
user avatar

455+ studying

190KViews

96%

114 rated

Defensive Design & Testing

Program Maintainability

user avatar
user avatar
user avatar
user avatar
user avatar

225+ studying

200KViews

96%

114 rated

Defensive Design & Testing

Testing Programs

user avatar
user avatar
user avatar
user avatar
user avatar

325+ studying

192KViews
Load more notes

Join 500,000+ GCSE students using SimpleStudy...

Join Thousands of GCSE Students Using SimpleStudy to Learn Smarter, Stay Organized, and Boost Their Grades with Confidence!

97% of Students

Report Improved Results

98% of Students

Recommend to friends

500,000+

Students Supported

50 Million+

Questions answered