Write a set of test cases to debug a small vb program.

Assignment Help Visual Basic Programming
Reference no: EM13935188

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.

Reference no: EM13935188

Questions Cloud

Which organelles most important in providing energy to cell : hat technique can be used to measure cell activity like a change in membrane potential? Which organelles is most important in providing energy to the cell?
Maintaining a cash balance : You are the assistant accountant at Krispics Co. Ltd, a distributor of snack foods. Krispies has a large loan from a bank, and part of the loan agreement stipulates that the company must maintain a Cash at Bank account balance of at least S75 000,..
What are the advantages of components : Explain the difference between declaring a variable using the keyword Public, Friend, or Private.
A sequential access file or often call a text file in vb.net : In my application I've created a sequential access file or often call a text file in Visual Basic.Net. I am wondering how can I code the program to calculate the average of all the data from the sequential access file?
Write a set of test cases to debug a small vb program. : 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 follo..
List three likely costs in linda''s operation and indicate : List three likely costs in Linda's operation and indicate whether they are fixed or variable.
Explain what happens to nad : Which other stages of glucose oxidation produce molecules of the reduced coenzyme, NAD.2H? Explain what happens to NAD.2H produced during glycolysis in:- an animal cell respiring aerobically
Program that validates the value a user enters into textbox : Check to see if each part is only numeric characters, using IsNumeric and IndexOf.If error, display error message box.
Literature review on project : Write a report of 2000 words for literature review on project and attempt to understand cultural differences with emphasis on engineering approaches and practices.

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Develop a simple application for the ice-cream games

Develop a simple application for the Ice-Cream Games, which captures information about athletes and populates a list box.

  The saffir-simpson hurricane wind scale classifies

The Saffir-Simpson hurricane wind scale classifies hurricanes into five categories based on the intensity of their sustained winds. A category one hurricane has wind speeds between 74 and 95 miles per hour (mph)

  Create a visual basic application

Create a visual Basic application that asks the user for two different numbers through text boxes - Then compare the numbers to see which one is higher once they push a button.

  Create a visual basic program to analyze a mortgage

Create a Visual Basic program to analyze a mortgage. The user should enter the amount of the loan, the annual percentage rate of interest, and the duration of the loan in months.

  Write visual logic program to accept number til negative

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

  Change the color of the text in the redlabel to red

Write that visual basic instruction to change the color of the text in the redlabel to red.

  Calculate the monthly interest

calculate the monthly interest and display the amounts of interest earned and the new balances for each of the savers. Then set the annualInterestRate

  How to program in visual basic four square buttons

How to program in visual basic four square buttons arranged in a rectangular array each button says push me... when user clicks on a button the button disappears the other three come or remain visible

  Basics of visual design

Focus on Web Design II: This assignment is part of the module MODULE 4: BASICS OF VISUAL DESIGN and hasn't been unlocked yet. Completion Prerequisites. The following requirements need to be completed before this page will be unlocked: MODULE 4: BASIC..

  Why is exception handling important to software development

Exception handling, some thought should be given to this topic, rather than finding and pasting articles from the Internet into a discussion board. Please respond to all of the following prompts: 1. Why is exception handling important to software dev..

  Using visual studio, create sample class implementations

Using Visual Studio, create sample class implementations. These will be code stubs that provide the basis for the classes you will be using

  Organize the code for user readability

Organize the code for reusability, Provide documentation with embedded comments for reader understanding

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd