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

Software development, SOFTWARE DEVELOPMENT: Software development is a ...

SOFTWARE DEVELOPMENT: Software development is a human activity. It involves a clear understanding of the field of application, such as library and information science; knowled

Discuss the reuse of software at different levels, Question 1 Discuss the ...

Question 1 Discuss the Limitation of the linear sequential model in software engineering Question 2 What is Software reliability? Why reliability is more important than effic

What is software maintenance, What is software maintenance? Changes to...

What is software maintenance? Changes to the software are made in response to altered requirements but the fundamental structure of the software remains stable.

State about the data dictionary, State about the Data Dictionary  This...

State about the Data Dictionary  This is another tool of requirement analysis that reduces complexity of DFD. A data dictionary is a catalog of all components of a system. DFD

What is walk-through, A walk-through is an informal meeting for information...

A walk-through is an informal meeting for informational purposes or evaluation.

The problems that are faced during maintenance of software, Discuss some of...

Discuss some of the problems that are faced during maintenance of software. The problems are:  -  Often another person or group of persons working over the years in isolat

Explain equivalence partitioning, What is equivalence partitioning? Equ...

What is equivalence partitioning? Equivalence partitioning is a black box procedure that divides the input domain into classes of data. From this data test cases can be foun

Explain about core dumps debugging technique, Q. Explain about Core dumps d...

Q. Explain about Core dumps debugging technique? Debugging is the activity of locating as well as correcting errors. Core dumps: -A printout of all registers as well as rel

Encapsulation, Illustrate the use of the concept Encapsulation.

Illustrate the use of the concept Encapsulation.

The worker pool multi-threading architecture, QUESTION (a) Compare the ...

QUESTION (a) Compare the worker pool multi-threading architecture with the thread-per-request architecture. (b) What thread operations are the most significant in cost? (

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