Save
...
Paper 2
2.3 Producing Robust Programs
2.3.2 Testing
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Pav Bath
Visit profile
Cards (14)
What is the primary purpose of testing in software development?
To find
defects/problems
so they can be fixed before the
program
is used.
View source
Why is it important to ensure that end results meet user requirements?
To ensure that the software
fulfills
the needs and expectations of the users.
View source
What is the significance of ensuring calculations are done correctly in testing?
It prevents incorrect
outputs
that could lead to
user
dissatisfaction or errors in functionality.
View source
How does testing contribute to user/customer confidence?
By identifying and fixing issues before the
software
is released, it assures users of its
reliability
.
View source
What are the two main types of testing in software development?
Iterative Testing
: Testing during development.
Final Testing
: Testing after the majority of development has been completed.
View source
What is a logic error in programming?
An error that results in
incorrect
output
but does not
crash
the program.
View source
What is a syntax error?
An error in the
grammar
of the program that prevents it from running.
View source
What types of test data are used in software testing?
Normal
: Data the
program
expects.
Boundary
: Data on the boundary of expected values.
Invalid
: Data beyond the expected range.
Erroneous
: Data the program does not expect.
View source
How would you categorize the test data of 25 kg for luggage in the OCR Airlines example?
Boundary test
to check borderline
free baggage
.
View source
What is the purpose of testing with 30 kg of luggage in the OCR Airlines example?
To test
normal
values for
paid
luggage.
View source
What does testing with 50 kg of luggage aim to achieve in the OCR Airlines example?
To test
borderline
disallowed luggage.
View source
Why is testing with 60 kg of luggage considered invalid in the OCR Airlines example?
Because it exceeds the maximum allowed weight of
50 kg
.
View source
What is the purpose of testing with non-numeric data like "Bananas" in the OCR Airlines example?
To test that
erroneous
/
non-numerical
data is rejected.
View source
What does testing with -1 kg of luggage aim to achieve in the OCR Airlines example?
To test that erroneous
negative
values are
rejected.
View source