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

Concepts of the object-oriented paradigm, To develop software of lasting qu...

To develop software of lasting quality you have to lay down a solid architectural foundation that is resilient to change. Modelling is at the heart of the development of good quali

What is non-intrusive testing, What is Non-intrusive Testing? Testing th...

What is Non-intrusive Testing? Testing that is transparent to the software under test; i.e., testing that does not alter the timing or processing characteristics of the software

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

What are the phases of Problem solving Loop? Problem definition shows the problem to be solved. Technical developmentSolve the Problem by some Technology. Solution Integr

What are repositories used by qtp to store object properties, What are repo...

What are repositories used by QTP to store object properties? QTP uses two kinds of repositories to store object properties. a.) Shared object repository: A global object

What are the levels of testing, What are the two levels of testing? i. ...

What are the two levels of testing? i. Component testing Individual components are tested. Tests are produced from developer's experience. ii. System Testing The group

Define the product metrics, Q. Define the Product metrics? (i) Product ...

Q. Define the Product metrics? (i) Product metrics: Explains the characteristics of the product such as complexity, size, design features, performance, efficiency, reliability,

Define the load address for the first word of the program, Define the Load ...

Define the Load address for the first word of the program is known as Load address origin is called as a Load address for the first word of the program

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

Discuss in detail about cocomo model, Discuss in detail about COCOMO model....

Discuss in detail about COCOMO model. Constructive Cost Model. Software cost estimation gives the opportunity to estimate of how much months a man take to develop a softw

What is fan-in and fan-out, Define Fan-in and Fan-out Fan-out: A measu...

Define Fan-in and Fan-out Fan-out: A measure of the number of modules which are directly maintained by another module. Fan-in: Indicates that how many modules directly main

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