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
Well establish garment factory (large scale- one of country biggest) received order of 40,000 fabric to complete within 12 weeks. (This is well profitable order which cannot be ign

Sanity testing : - Sanity testing is used to make sure that multiple or conflicting functions or variables do not exist in the system. - It verifies that the components of th

Define design process. Design process is a sequence of steps carried through which the requirements are translated into a system or software model.

What is meant by software change? Software change is explained as the change in nature of software as the needs of software changes.

Develop a detailed design to support the use case specified in the accompanying document: ‘ Asg2 . (Hint: Follow the process for use case realization and develop analysis clas

Question: (a) What is a piconet in a Bluetooth context? (b) Discuss the concept of Master, slave, stand-by and parked devices with respect to a Bluetooth piconet. (c)

how to make script file volume of pyramid

How to compute the cyclomatic complexity? The cyclomatic complexity can be computed by any one of the following ways. 1. The numbers of regions of the flow graph correspond

Assuming that all the tables have been created as given in the relational schema, write SQL code to make the following changes in the structure of the tables: (i) Make the empl

explain software document.create the necessary documents for employee management system.