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

Paradigm, which paradigm tend to correspond with top down and bottom up des...

which paradigm tend to correspond with top down and bottom up design

Category Partition Testing and Data Flow Assignment, The following program ...

The following program will display an integral solution to the quadratic equation ax2+bx+c for integral values of a,b, and c, where a,c fall between 0 and 10, while b falls between

What is test phase, What is Test phase? Ans) The time period in the soft...

What is Test phase? Ans) The time period in the software life cycle in which the parts of a software product are evaluated and integrated, and the software product is evaluated

What is system engineering, What is System Engineering? System Engineer...

What is System Engineering? System Engineering means designing, executing, deploying and operating systems which contain software, hardware, and people.

Explain beta testing, Beta testing is testing an application when developme...

Beta testing is testing an application when development and testing are essentially done and final bugs and troubles require to be found before the final release. Beta testing is t

Differentiate between smoke testing and sanity testing, Differentiate betwe...

Differentiate between smoke testing and sanity testing. -Smoke testing verifies all areas of application; sanity testing recognizes one or few areas only. -Smoke testing is

Define the method of direct changeover, Define the method of Direct changeo...

Define the method of Direct changeover With this technique, old system is stopped and new system is used Straight away;  - This method can be disastrous if new system fails

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

Explain the concept of top down design, Q. Explain the concept of Top down ...

Q. Explain the concept of Top down design? Top down design: A top down design approach begins by identifying the major modules of the system decomposing them into their lower

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