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

Data structure, what do you understand by recursion.explain the simulating ...

what do you understand by recursion.explain the simulating recursion in brief.program of fabinacon series by recursion

Determine the shared mode of QTP, Determine the Shared mode of QTP - ...

Determine the Shared mode of QTP - Best used in subsequent cases: - When there are numerous tests which correspond to interface, objects, or application - When test obj

Recreating Sections of Google+ in C, Create a compound data type called Pos...

Create a compound data type called Post to store messages posted on Google+. Post should include: Name / Data Type / Description date / char [9] / date fields for

Artificial intelligence, what are the characteristics of artificial intelli...

what are the characteristics of artificial intelligence

Explain the term- phased, Explain the term-  Phased In this approach ...

Explain the term-  Phased In this approach only part of the new system is introduced and only when it proves to work satisfactorily is the next part introduced and so on, unti

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

What are the objectives of analysis modeling, What are the objectives of An...

What are the objectives of Analysis modeling? i. To explain what the customer needs. ii. To establish a basis for the creation of software design. iii. To devise a set of

Explain regression testing, Regression test cases which a program has previ...

Regression test cases which a program has previously implemented correctly in order to detect errors spawned by changes or corrections done during software development and maintena

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