You have just been hired as the testing guru for the


You have just been hired as the testing guru for the CatchAllBugs.com Company. Your first task is to write a set of test cases to debug a small VB program. Unfortunately, you do not have access to the code of the program. All you have is the following description.

The program takes in three numbers as input and prints out one of the following three statements:

'This is a RIGHT triangle' or 'This is NOT a right triangle' or 'Invalid input'.

Recall that a right triangle has a 900 angle and satisfies the following formula:

A2 + B2 = C2, where A, B, and C are the three sides of the triangle. Also, don't forget that the sum of any two sides (for any triangle) is greater than the third side.

Consider the following questions

What is the difference between testing and debugging?

Design 10 test cases and explain the purpose of each of them.

The purpose in one to two sentences.

For example the purpose of (3, 4, 5) is to test that the program correctly identifies a right angle (9 + 16 = 25). Ok, you need nine more.

Is it possible to design a complete set of test cases that will uncover all the bugs in the program?

Justify your answer.

Solution Preview :

Prepared by a verified Expert
Visual Basic Programming: You have just been hired as the testing guru for the
Reference No:- TGS01244510

Now Priced at $30 (50% Discount)

Recommended (98%)

Rated (4.3/5)