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

Black box and white box testing, I am not properly understanding the basis ...

I am not properly understanding the basis difference between black box testing and white box testing. Please explain in simple way and with some example so that I can easily under

Illustrate the concept of a software bus in corba, QUESTION (a) Illustr...

QUESTION (a) Illustrate the concept of a software bus in CORBA (b) Taking an example of your own, explain how component-based software engineering can allow very rapid softw

What is mutation testing, Mutation testing is type of software testing wher...

Mutation testing is type of software testing where our goal is to make mutant software fail, and therefore demonstrate the adequacy of our test case.

Determine the aspects of prototyping model., Determine the aspects of proto...

Determine the aspects of prototyping model. Figure below portrays prototyping model. Prototype model has the below aspects: (i)  It helps in determining user requirements

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 system, A set of people, machines, and methods prepared to accompli...

A set of people, machines, and methods prepared to accomplish a set of specified functions.

Explain the process of black box testing, Explain the process of Black box ...

Explain the process of Black box testing  This is applied during the later stage of testing.  It enables software developer to derive a set of input conditions which will fully

Usual stages of the simplified design process, Q. Usual stages of the simpl...

Q. Usual stages of the simplified design process? Pre-production design Design brief it is an early often the beginning statement of design goals Analysis i

Software myth, how does software myth affects software process

how does software myth affects software process

What is structured programming explain, Q. What is structured programming a...

Q. What is structured programming and why is it important? Ans. Structured programming is a term that was coined in the late 1960's to mean programming without using go to st

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