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 fan-in and fan-out, Define Fan-in and Fan-out Fan-out: A measu...

Define Fan-in and Fan-out Fan-out: A measure of the number of modules which are directly maintained by another module. Fan-in: Indicates that how many modules directly main

Srs, ? A store is in the business of selling paints and hardware items. A n...

? A store is in the business of selling paints and hardware items. A number of reputed companies supply items to the store. New suppliers can also register with the store after pro

Explain about the incremental model, Explain about the incremental model. ...

Explain about the incremental model. Have same phases as the waterfall model. Phases are Analysis. Design. Code. Test. Incremental model deliver

Explain structure-based testing techniques, Explain Structure-based testing...

Explain Structure-based testing techniques - Structure-based testing methods are also termed as white-box testing techniques. - These are dynamic methods. - They use the

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

Write down the concept of functional independence, Write down the concept o...

Write down the concept of Functional independence.  a. Functional independence is gained by developing modules with "single minded" function and an "aversion" to extreme intera

Define quality control, Explain Quality control This includes checking ...

Explain Quality control This includes checking the software development process to make sure that procedures and standards are being followed. There are two approaches to qu

Explain functional testing, Functional testing is black-box type of testing...

Functional testing is black-box type of testing geared to functional needs of an application. Test engineers *should* do functional testing.

#title; fundamentals of tech, true/false small errors in syntax or spelling...

true/false small errors in syntax or spelling of a line of code will not affect the results

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