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

What are the different types of cohesion, What are the different types of C...

What are the different types of Cohesion? i. Coincidentally cohesive -The modules in which the set of tasks are related with each other loosely then such modules are called as

Discuss the important issues that a srs must address, Q . Discuss the impo...

Q . Discuss the important issues that a SRS must address. Ans. SRS is the method of establishing the services the system should provide of the system in new it is difficult

Program for users to play the game of brick, Hello I need Solution for How...

Hello I need Solution for How">http://www.expertsmind.com/questions/program-for-users-to-play-the-game-of-brick-30137058.aspx, How much it Will COst?

Differentiate between object oriented and function oriented, Differentiate ...

Differentiate between object oriented and function oriented design .  Function-oriented design relies on recognizing functions which transform their inputs to make outputs. I

Define the concept of SRS, Define the concept of SRS An SRS clearly def...

Define the concept of SRS An SRS clearly defines following:  • External Interfaces of the system: They identify information which is to flow 'from and to' to the system.

Explain metric, Explain Metric? Ans) The measure of the extent or degree...

Explain Metric? Ans) The measure of the extent or degree to which a product possesses and exhibits a particular quality, property, or attribute.

How do stubs and drivers are related to manual testing, How do stubs and dr...

How do stubs and drivers are related to manual testing? - Drivers and stubs are a part of incremental testing. - The two different techniques used in incremental testing are

Ball game, I need the code for creating a simple ball game on net beans/Ope...

I need the code for creating a simple ball game on net beans/Open gl

Define the minimum cardinality of a relationship, Define the Minimum cardin...

Define the Minimum cardinality of a relationship Minimum cardinality of a relationship is the minimum number of instances of second entity (student, in this case) with every in

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