Testing and validation
9 flashcards to master Testing and validation
Smart Spaced Repetition
Rate each card Hard, Okay, or Easy after flipping. Your progress is saved and cards are scheduled for optimal review intervals.
Define the term 'test data' in the context of program testing.
Test data is the set of inputs used to assess the functionality and correctness of a program. It should include normal, abnormal, and extreme data to cover various scenarios.
Explain what 'normal data' is and provide an example.
Normal data is input that falls within the expected range and type for a program.
Describe 'abnormal data' and give an example of its use in testing.
Abnormal data is input that is of the correct data type but outside of an acceptable range. An example is entering -5 for age, which is unexpected.
What is 'extreme data' and why is it important in testing?
Extreme data represents the highest and lowest acceptable values that a program should handle. Testing extreme data ensures the system works at its limits,
Explain the concept of 'boundary data' and its significance in program testing.
Boundary data is input that lies at the limits of the valid range, such as the minimum and maximum allowed values. It is significant for testing as errors often occur at these boundaries.
Distinguish between 'validation' and 'verification' in the context of software development.
Validation checks if the software meets the user's needs ('Are we building the right product?'). Verification checks if the software is built correctly ('Are we building the product right?').
Describe the purpose of a 'trace table' in debugging.
A trace table is used to manually track the values of variables during the execution of an algorithm or program. This helps identify errors in logic or calculation.
What is a 'dry run' and how is it used in program testing?
A dry run involves manually stepping through code and simulating its execution, without actually running the program. This helps identify errors early in the development process.
Give an example of validation that could be used when creating a system to store customer details, including their age.
A validation check could be implemented to ensure that the age entered is a realistic value (e.g. between 0 and 120). This prevents users from entering illogical data.
Key Questions: Testing and validation
Define the term 'test data' in the context of program testing.
Test data is the set of inputs used to assess the functionality and correctness of a program. It should include normal, abnormal, and extreme data to cover various scenarios.
Explain what 'normal data' is and provide an example.
Normal data is input that falls within the expected range and type for a program.
Describe 'abnormal data' and give an example of its use in testing.
Abnormal data is input that is of the correct data type but outside of an acceptable range. An example is entering -5 for age, which is unexpected.
What is 'extreme data' and why is it important in testing?
Extreme data represents the highest and lowest acceptable values that a program should handle. Testing extreme data ensures the system works at its limits,
Explain the concept of 'boundary data' and its significance in program testing.
Boundary data is input that lies at the limits of the valid range, such as the minimum and maximum allowed values. It is significant for testing as errors often occur at these boundaries.
About Testing and validation (7.3)
These 9 flashcards cover everything you need to know about Testing and validation for your Cambridge IGCSE Computer Science (0478) exam. Each card is designed based on the official syllabus requirements.
What You'll Learn
- 7 Definitions - Key terms and their precise meanings that examiners expect
- 1 Key Concepts - Core ideas and principles from the 0478 syllabus
How to Study Effectively
Use the Study Mode button above to test yourself one card at a time. Try to answer each question before flipping the card. Review cards you find difficult more frequently.
Continue Learning
After mastering Testing and validation, explore these related topics:
- 7.2 Searching and sorting - 10 flashcards
- 8.1 Programming concepts - 10 flashcards
Study Mode
Space to flip • ←→ to navigate • Esc to close
You're on a roll!
You've viewed 10 topics today
Create a free account to unlock unlimited access to all revision notes, flashcards, and study materials.
You're all set!
Enjoy unlimited access to all study materials.
Something went wrong. Please try again.
What you'll get:
- Unlimited revision notes & flashcards
- Track your study progress
- No spam, just study updates