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

Explain about the e-r diagram, Explain about the E-R Diagram Entity-rel...

Explain about the E-R Diagram Entity-relationship (E-R) diagram is detailed logical representation of data for an organisation. It is data oriented model of a system while DFD

What are the drawbacks of rad model, Mention some of the drawbacks of RAD m...

Mention some of the drawbacks of RAD model. Unuseful for a large-scale projects. Interest of developers & customers are necessary. Not useful and perfect when technica

What is vo browser extension, What is VO browser extension? - It is a S...

What is VO browser extension? - It is a SilkTest add-on component to test Web applications. - To identify browser-rendered objects it employs sophisticated pattern recogniti

What is the use of architectural design, What is the use of Architectural d...

What is the use of Architectural design? The Architectural design explains the relationship among major structural elements of the software, the "design patterns" that can be u

Define cohesion & coupling, Define cohesion & coupling? Give suitable examp...

Define cohesion & coupling? Give suitable examples.  Coupling : Coupling refers to the strength of the relationship among modules in a system. Coupling shows how strongly dif

Explain diffrent types of system testing, Q. Explain diffrent types of syst...

Q. Explain diffrent types of system testing? System testing System tests are designed to validate a fully developed system to assure that it meets its requirements. There are f

Explain steps in building the structure chart, Q. Explain Steps in Building...

Q. Explain Steps in Building the Structure Chart? Steps in Building the Structure Chart 1. Identify top level modules as well as decompose them into lower levels 2. Add

What is interface testing, Testing conducted to evaluate whether systems or...

Testing conducted to evaluate whether systems or components pass data and control correctly to one another. Contrast with testing, unit; testing, system. Normal 0

December 2010, differentiate between structured analysis and structured des...

differentiate between structured analysis and structured design

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