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

Answer, write a decision table that specifies the rules for the game of che...

write a decision table that specifies the rules for the game of checkers

Distribution of the package, Distribution of the Package: In the last ...

Distribution of the Package: In the last 12 years of its existence CDS/ISIS software has become one of the most popular packages of its kind. It is estimated that there are ab

What is test phase, What is Test phase? Ans) The time period in the soft...

What is Test phase? Ans) The time period in the software life cycle in which the parts of a software product are evaluated and integrated, and the software product is evaluated

Importance of function point, Importance of function point:    This is ...

Importance of function point:    This is independent of the languages tools, or methodology used for execution. They can be estimated from requirement specification or desig

What is maintenance, Define maintenance. Maintenance is defined as the ...

Define maintenance. Maintenance is defined as the procedure in which changes are executed by either modifying the existing system's architecture or by adding new mechanism to t

Describe the formal software process model, Question 1: (a) Describe t...

Question 1: (a) Describe the Formal Software Process Model. (b) What are the main strengths of the Formal Software Process Model ? (c) Why is the Software Process Mode

What is boundary value testing, A testing technique using input values at, ...

A testing technique using input values at, just below, and just above, the definite limits of an input domain; and with input values causing outputs to be at, just below, and just

SRS, i want to make a case study of any topic of SRS but i am little confus...

i want to make a case study of any topic of SRS but i am little confuse about SRS plz give me Idea how to work in SRS and how to select a model

How to ensure the smooth implementation of system, Probelm: (a) Compare...

Probelm: (a) Compare Supply Chain Management (SCM) and Customer Relationship Management (CRM) . How are they similar? How are they different? Your answer should show the differ

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