CSC 481 - CHAPTER 9: TESTING
QUESTIONS AND ANSWERS WITH
VERIFIED SOLUTIONS 2024
List two causes of program bugs. - ANSWER Programming errors and understanding errors.
Define what is meant by 'functional testing'. - ANSWER Testing the functionality of a program to find
bugs and to demonstrate that the software
works as expected.
Apart from functional testing, list three other types of program testing. - ANSWER User testing,
performance and load testing, security testing.
What are the two phases of user testing? - ANSWER Alpha testing, where the aim of testing is to answer
the question 'do users want the
planned system features?' and beta testing where users test the usability of a product.
What general principle underlies unit testing? - ANSWER If a program behaves as expected for a set of
inputs with some shared characteristics, it will behave in the same way for a larger set whose members
share these characteristics.
What is an equivalence partition? Give an example. - ANSWER A set of inputs that have some common
characteristic, such as positive integers less than 1000.
List five unit testing guidelines. - ANSWER Any five from: test edge cases, force errors, fill buffers, repeat
yourself, overflow and underflow, don't forget null and zero, keep count, one is different.
What are the two types of test involved in feature testing? - ANSWER Interaction tests and usefulness
tests.
What four things is system testing concerned with?v - ANSWER Testing to discover feature interactions,
testing to discover if features do what users want,
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TESTTACKLERS. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.39. You're not tied to anything after your purchase.