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

List the guidelines for data design, List the guidelines for data design. ...

List the guidelines for data design. i. Apply systematic analysis on data. ii. Determine data structures and related operations. iii. Establish data dictionary. iv. Us

What are the aims of testing, What are the aims of testing? i. T...

What are the aims of testing? i. Testing is a process of executing a program with the target of finding an error. ii. A good test case is one that has high possibilit

State the software maintenance, What is software maintenance Alters to...

What is software maintenance Alters to the software are made in response to altered requirements but the fundamental structure of the software remains same.

What is review, What is Review? Ans) A method or meeting during which a ...

What is Review? Ans) A method or meeting during which a work product or set of work products, is shown to project personnel, managers, users, customers, or other interested part

What is cardinality in data modelling, What is cardinality in data modellin...

What is cardinality in data modelling? Cardinality in data modeling, cardinality verifies how the number of occurrences of one object is related to the number of occurrences of

Ball game, I need the code for creating a simple ball game on net beans/Ope...

I need the code for creating a simple ball game on net beans/Open gl

What are the testing principles of software testing, What are the testing p...

What are the testing principles the software engineer must apply whereas performing the software testing? i. All tests should be traceable to customer requirements. ii. Test

Nonfunctional requirements of clue-less system, Nonfunctional Requirements ...

Nonfunctional Requirements Performance Requirements PE-1: The Clue-Less system shall accommodate 6 users during peak usage, with an estimated average session duration of 15 m

What is equivalence partitioning, What is Equivalence Partitioning? Eq...

What is Equivalence Partitioning? Equivalence Partitioning (EP) is the process of methodically decreasing the huge set of possible test cases into a much smaller but still equ

What are quality factors, What are Quality factors? For large projects...

What are Quality factors? For large projects with 'average' capabilities, the development process verifies product quality. For small projects, the capabilities of the deve

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