Purchase Solution

What is the difference between testing and debugging?

Not what you're looking for?

Ask Custom Question

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 is 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.
Identify one test case.

Purchase this Solution

Solution Preview

Note on the start of the problem:
a^2+b^2 = c^2 only for a right-cornered triangle, so I assume this is what was intended in the question

Testing is a process in which bugs are discovered
Debugging is the process in which the program is corrected so as to eliminate known bugs.

Here are some test cases:

Input testing what

3,4,6 triangle is not right ...

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

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.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Networking Questions

This quiz consists of some basic networking questions.