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

How messages can be used in software engineering, Q. How Messages can be us...

Q. How Messages can be used in software engineering? Messages:- The interaction or communication between the different objects and classes is done by passing messages. The ob

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

Explain the term- system maintenance, Explain the term- System Maintenance ...

Explain the term- System Maintenance update hardware as new items come on market or company changes in any way which requires new devices to be updated/added Update sof

What are the various types of coupling, What are the various types of coupl...

What are the various types of coupling? i. Data coupling - The data coupling is possible by parameter passing or data interaction. ii. Control coupling - The modules share r

Applicability with reference to software reliability models, Q. Applicabili...

Q. Applicability with reference to software reliability models? Applicability : It is another important characteristic of a model. The model must be judged by its degree of a

Define the product metrics, Q. Define the Product metrics? (i) Product ...

Q. Define the Product metrics? (i) Product metrics: Explains the characteristics of the product such as complexity, size, design features, performance, efficiency, reliability,

Define black box testing strategy, Define black box testing strategy. B...

Define black box testing strategy. Black box testing describes the functional requirements of the software. Test cases are determined on the basis of the requirements or specif

Explain the term- phased, Explain the term-  Phased In this approach ...

Explain the term-  Phased In this approach only part of the new system is introduced and only when it proves to work satisfactorily is the next part introduced and so on, unti

Path & Path Production, Path & Path Production, Syntax testing, Computer En...

Path & Path Production, Syntax testing, Computer Engineering Take the following flow graph and use the procedure in chapter 8 to derive an equivalent regular expression. Show all i

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