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
Define Requirement Engineering. Requirement Engineering is a process that includes all of the activities needed to create and maintain a system requirements document. The fo

Q. Explain about Mutation testing? Mutation testing In mutation testing the software is initial tested by using an preliminary test suite built up from the different white bo

Cardinality & Optionally Cardinality represents the relationship between two entities. Consider one to many relationship between two entities -student andclass. Here cardinal

What things will you remember when making an interface? - A class's interface must be sensible enough. It should act the way user expects it to. - It must be designed from t

Database Management Systems: These are essentially programming frameworks, and can offer good storage and retrieval systems. They are mainly intended for programmers to intera

How do we zero down on automation tools for regression testing? Below criteria are used when zeroing down on automation tools for regression testing: - Risk analysis such as

What are the elements of design model? i. Data design ii. Component-level design iii. Interface design iv. Architectural design

What is Process and product quality? The quality of a developed product is influenced by the quality of the production process. This is significant in software development

The task in this project is to design a normalized database that could be used to collect and store information for a video rental outlet. The database should be structured to s

Q. Advantage of software life cycle model? The advantage of this model is the wide range of options to accommodate the good features of outer life cycle models. It becomes equi