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

What is delphi model, What is Delphi model? In Delphi method, a number ...

What is Delphi model? In Delphi method, a number of parameters to be considered based on as experts estimates. The group estimate is taken as on  an average of the weighted

Cairs library management system , CARS-LMS: In this section let us try...

CARS-LMS: In this section let us try to learn about a different software package, which is commonly used in some of the libraries abroad. The package is known as CAIRS/LMS or

What is software requirement specification, What is Software requirement Sp...

What is Software requirement Specification (SRS)? Software Requirement Specification Document is the output of requirement examines stage of the software development life cycle

What is the objective of regression testing, The aim of regression testing ...

The aim of regression testing is to test that the fixes have not formed any other problems elsewhere. The aim is to ensure the software has remained intact. A baseline set of data

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

Describe the various elements of data design, Describe the various elements...

Describe the various elements of data design? i. Data object - The data objects are identified and relationships among various data objects are represented using ERD or data di

Distinguish between alpha and beta testing, Distinguish between alpha and b...

Distinguish between alpha and beta testing.  Alpha and beta testing are the types of acceptance testing.  Alpha test: The alpha testing is attesting in which the version o

What is dynamic and static metrics, What is Dynamic and static metrics? ...

What is Dynamic and static metrics? Dynamic metrics are closely related to software quality attributes It is relatively easy to measure the response time of a system (per

Explain test plan, Documentation specifying the scope, approach, resources,...

Documentation specifying the scope, approach, resources, and schedule of intended testing activities. It signifies test items, the features to be tested, the testing tasks, respons

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