Cambridge IGCSE Computer Science 0478
Data Representation
Data Transmission
Hardware
Software
The Internet and Its Uses
Automated and Emerging Technologies
Algorithm Design and Problem-Solving
Programming
Algorithm Design and Problem-Solving
Test data and trace tables
- 3 things to know
- Paper 2
Overview
Normal, abnormal, extreme and boundary test data, and dry-running algorithms with trace tables.
What you need to know
Answer each one before you reveal it.
A program accepts whole numbers from 18 to 65. Give suitable test data of each type
A program accepts percentages from 0 to 100. Give suitable test data of each type
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is normal test data?
Model answer
Normal test data is sensible data that the program should accept and process.
- 2
What is abnormal test data?
Model answer
Abnormal test data is data that the program should reject, such as text where a number is expected.
- 3
What is extreme test data?
Model answer
Extreme test data is the largest or smallest value that the program should accept.
- 4
What is boundary test data?
Model answer
Boundary test data is the largest or smallest value that should be accepted together with the value just beyond it that should be rejected.
- 5
A program accepts whole numbers from 1 to 100. Give one example of each type of test data.
Model answer
Normal data could be 50, and abnormal data could be 150 or the word ten. Extreme data is 1 and 100. Boundary data is 0 and 1, or 100 and 101.
- 6
Why should a program be tested with abnormal data?
Model answer
Abnormal data shows whether the validation works and whether the program handles bad input without crashing.
Other ways to work this
The same content, four other ways.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Every question in Algorithm Design and Problem-Solving, on a schedule.
Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.