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

Determine the sanity testing, Determine the Sanity testing - Sanity te...

Determine the Sanity testing - Sanity testing is used to ensure that conflicting or multiple functions or variables don't exist in system. - It verifies that components of

Distinguish between verification and validation, Distinguish between verifi...

Distinguish between verification and validation. Verification refers to the set of activities that make sure that software correctly executes a specific function. Validation re

Relationship between people and effort, Ask question #Minimumreal time exam...

Ask question #Minimumreal time example 100 words accepted#

Mention some of the drawbacks of rad model, Mention some of the drawbacks o...

Mention some of the drawbacks of RAD model. Not suitable for largescale projects. Commitment of developers & customers are required. Not appropriate when technical ris

Explain glass box testing, Glass box testing is the similar as white box te...

Glass box testing is the similar as white box testing. It's a testing approach that consider the application's program structure, and derives test cases from the application's prog

Show the advantages of incremental model, Q. Show the Advantages of increme...

Q. Show the Advantages of incremental Model? As product is to be conveying in parts total cost of the project is distributed. Limited number of persons is able to be pu

Determine the software development models, Determine the Software developme...

Determine the Software development models Software Engineering deals with development of software. Thus, understanding the basic characteristics of software is essential. Softw

Explain the software prototyping, What is meant by software prototyping? ...

What is meant by software prototyping? Software prototyping is a process of producing a model for the software product. This is developed based on the recently known requiremen

Define query language, Define query language? A query is a statement re...

Define query language? A query is a statement requesting the retrieval of information. The portion of DML that includes information retrieval is known as a query language.

Define architectural evolution, What is architectural evolution? Archit...

What is architectural evolution? Architectural evolution is the practice of modifying a system from a centralized architecture to a distributed architecture like client server.

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