Purchase Solution

Difference Between Testing vs Debugging

Not what you're looking for?

Ask Custom Question

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.

Thank you

Purchase this Solution

Solution Summary

A set of test cases to debug a small VB program is modeled.

Purchase this Solution


Free BrainMass Quizzes
Javscript Basics

Quiz on basics of javascript programming language.

C# variables and classes

This quiz contains questions about C# classes and variables.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.