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

When must you stop testing, When must you stop testing? It is very diff...

When must you stop testing? It is very difficult to determine as many modern software applications are complex and run in such an interdependent environment that complete testi

What are the approaches of integration testing, What are the approaches of ...

What are the approaches of integration testing? The integration testing can be carried out using two approaches. 1. The non-incremental testing. 2. Incremental testing.

Describe any types of feasibility study, System Development Life Cycle (SDL...

System Development Life Cycle (SDLC) stages are sometimes known as System Study. System concepts which are important in developing business information systems expedite problem sol

Enumerate the evolution of software, Enumerate the evolution of software ...

Enumerate the evolution of software The below Table summarises evolution of software: 1960s Infancy Machine Code 1970s Project Years

Define cohesion and coupling, Q. Define cohesion and coupling? Give suitabl...

Q. Define cohesion and coupling? Give suitable examples. Ans Coupling: Coupling refers to the strength of the relationship between modules in a system. Coupling represents how

What are the three activities of risk assessment, What are the three activi...

What are the three activities of risk assessment? The three activities are identifying, examining and giving priorities . Risks can be identified by a check list or looking at

What is sei capability maturity model, What is SEI capability maturity mode...

What is SEI capability maturity model? Initial Essentially uncontrolled Repeatable Product management procedures explained and used Defined Proc

Software document, explain software document.create the necessary documents...

explain software document.create the necessary documents for employee management system.

Compute act and the total cost of the system, a) Define Annual Change Traff...

a) Define Annual Change Traffic (ACT) and Annual Maintenance Effort (AME) of Boehm model. b) For a software system of 90 KLOC, 5KLOC of code was added. The initial development

What does modality in data modeling indicates, What does modality in data m...

What does modality in data modeling indicates? Modality shows whether or not a particular data object must participate in the relationship.

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