Determine the test cases using boundary value analysis, Software Engineering

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}.

Posted Date: 7/26/2013 5:10:59 AM | Location : United States







Related Discussions:- Determine the test cases using boundary value analysis, Assignment Help, Ask Question on Determine the test cases using boundary value analysis, Get Answer, Expert's Help, Determine the test cases using boundary value analysis Discussions

Write discussion on Determine the test cases using boundary value analysis
Your posts are moderated
Related Questions
What are the types of static testing tools? There are three kinds of static testing tools.  Code based testing tools - These tools take source code as input and get test cases.

Q 1 Define a software process. How do software myths affect a software process? Ans: A Software process is a Coherent set of activities for designing, specifying, implementin

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

Define software reliability. What is the difference between hardware & software reliability? Ans: Software reliability is the possibility that software will provide failure-f


differentiate between structured analysis and structured design

Q. Compare the basic COCOMO model with the detailed COCOMO model. Ans. COCOMO contains of a hierarchy of three increasingly detailed and accurate forms. Basic COCOMO i

Q. Explain Basic Execution Time Model? The model was developed by the J.D. MUSA in 1979(MUSA79) and is based on execution time. It is presumed that failures may occur according

Discuss about RAD Model Rapid Application Development Model is the one type of incremental model. Gains the high speed development utilising component based construction.

Define the process of debugging Generally when developing the code, software developer also carries out some testing. This is called debugging. This unearths the defects that s