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
A measure of the severity and probability of undesired effects. Often taken as the easy product of probability and consequence.

Incremental testing is fractional testing of an incomplete product. The aim of incremental testing is to give an early feedback to software developers.

List the important properties of a modular system.    Desirable properties are:- Every module is a well defined subsystem useful to others Every module has a well defined single

schema tools

Determine the various levels of testing The following are various levels of testing: Large systems are built out of subsystems which are made up of modules, modules of funct

EXPLAIN ABOUT DEFECT AMPLIFICATION AND REMOVAL IN SOFTWARE ENGINEERING

Q. Disadvantage of lines of code? 1. Lack of Accountability: Lines of code measure suffers from some fundamental problems. A few think it isn't useful to measure the productivi

Q. What is stepwise refinement? Stepwise Refinement:-Stepwise Refinement is a top-down design strategy initially proposed by Niklaus Wirth. A program is developed by consecutiv

Q. Discuss some of the problems that are faced during maintenance of software? - Habitually another person or group of persons working over the years in isolation from each oth

1. Testing that employs a test data selection method designed to obtain test data capable of demonstrating the absence of a set of pre-specified faults, typically, frequently happe