Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Chapter 8 of Sommerville covers Software Testing. Test cases are representative numbers to test a co program written in C, Java etc. To test a

image text in transcribed

Chapter 8 of Sommerville covers Software Testing. Test cases are representative numbers to test a co program written in C, Java etc. To test a program with 100 possible inputs, you do not need to try all 100 possibilities, usually 2, 3, or 5 cases may suffice if you pick appropriately (a) To test a square function that computes the square of integer n for n = 1 to 100, design tree working test cases with n between 1 and 100 that somehow explain this function works to compute the square of an integer (note you do not have to design 100 cases). Design two nonworking cases such as n-1 and explain what you expect for the nonworking case. r people to order a book to type in their first name, street address, and quantity. Design two working (valid) cases and two invalid cases

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions