Determine the test cases using boundary value analysis, Software Engineering

Assignment Help:

Q. Consider a program which computes the square root of an input integer between 0 and 5000. Determine the equivalence class test cases. Determine the test cases using boundary value analysis also.

Ans. For a program that calculates the square root of an input integer which can assume values in the range of 0 to 5000 there are three equivalence classes The set of negative integers the set of integers in the range of 0 and 5000 as well as the integers larger than 5000. Consequently the test cases must include representatives for each of the three equivalence classes and a possible test set can be: {-5,500,6000}. Boundary value analysis initiates selection of test cases at the boundaries of the different equivalence classes. For a function that calculates the square root of integer values in the range of 0 and 5000, the test cases must include the following values: {0, -1,5000,5001}.


Related Discussions:- Determine the test cases using boundary value analysis

Types of coupling, Types of coupling are:- A) Data coupling B) Stamp...

Types of coupling are:- A) Data coupling B) Stamp coupling C) Control coupling D) External coupling E)Common coupling F) Content coupling

What is test schedule, The test schedule is a schedule that signifies all t...

The test schedule is a schedule that signifies all tasks needed for a successful testing effort, a schedule of all test activities and resource needs.

Explain product and process standards, Product and process standards Pr...

Product and process standards Problems with standards They may not be seen as relevant and up-to-date by software engineers. They often include too much bureaucratic form

Describe the method of technical documentation, Describe the method of Tech...

Describe the method of Technical documentation This usually comprises: - Program listing/coding -  Programming language(s) used  - Algorithm/Flowchart -  Purpose o

Draw the data flow diagram, Go to Blackboard, and print the project scenari...

Go to Blackboard, and print the project scenariolocated under the Project folder. Using Visio, draw a Physical DFD ofall three business processes described in theproject scenario.

Data Flow Diagram, I need help creating a DFD for an assignment. Is there a...

I need help creating a DFD for an assignment. Is there anyway you could help?

Advantages of incremental model, Advantages of incremental Model:- ...

Advantages of incremental Model:- As product is to be delivered in parts, total cost of the project is dispersed. Limited number of persons can be put on to the projec

What are the phases of problem solving loop, What are the phases of Problem...

What are the phases of Problem solving Loop? Problem definition identifies the problem to be resolved. Technical development helps to resolve the Problem through various Te

Discuss the impact of "information era", Question 1 Discuss the impact of ...

Question 1 Discuss the impact of "information era" Question 2 Explain whether the linear sequential model of the software process is an accurate reflection of software developme

Write Your Message!

Captcha
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