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 are quality factors, What are Quality factors? For large projects...

What are Quality factors? For large projects with 'average' capabilities, the development process verifies product quality. For small projects, the capabilities of the deve

Different characteristics of software measures, Different characteristics o...

Different characteristics of software measures Different characteristics of software measures identified by Basili (1989) are given below: • Objects of measurement: They i

Com 101p, Peripheral devices are irrelevant to the computer

Peripheral devices are irrelevant to the computer

Important factors related to library storage operation, Important factors r...

Important factors related to library storage operation: It is essential to consider some important factors related to library and information storage and retrieval operations

What is cause-effect graphing, A testing method that aids in selecting, in ...

A testing method that aids in selecting, in a systematic way, a high-yield set of test cases that logically relates causes to effects to produce test cases. It has a useful side ef

What is security testing, What is security testing? Security testing at...

What is security testing? Security testing attempts to determine that protection mechanism built into a system will protect it from improper penetration.

What is function points, Q. What is Function points? Function points :...

Q. What is Function points? Function points : Function point calculates the functionality from the user opinion that is on the basis of what the user request and receives in r

Explain operational testing, Describe Operational Testing? Ans) Testing ...

Describe Operational Testing? Ans) Testing done by the end user on software in its normal operating environment.

Re-engineering cost factors, Re-Engineering cost factors:- 1)  The amou...

Re-Engineering cost factors:- 1)  The amount of the software to be re-engineered. 2)  The tool support available for re-engineering. 3)  The extent of the data conversion

What is a user guide, The "user guide" is the similar as the user manual. T...

The "user guide" is the similar as the user manual. The user guide is a document that shows information essential to employ a system or component to get the desired results. Typica

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