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

Define a software process, Define a software process. How do software myths...

Define a software process. How do software myths affect a software process? Software process is a Coherent set of activities for specifying, designing, executing and testing so

Explain quick-fix model, Explain Quick-fix Model Quick-fix Model : Thi...

Explain Quick-fix Model Quick-fix Model : This is the easiest model used for the maintenance of the software. In this model changes at the code level are made as early as poss

Determine the system integration the life cycle process, Determine the Syst...

Determine the System Integration the life cycle process. It is the process of putting hardware, software and user together to prepare a system. System Installation I

Incremental model, four circumstances where incremental model is appropriat...

four circumstances where incremental model is appropriate?

Nature of roots of a quadratic equation, Consider a program for the purpose...

Consider a program for the purpose of the nature of roots of a quadratic equation. Its input is the triple of positive integers say a, b, c as well as values in the interval [0,100

Cocomo 81 estimation model, You are preparing a bid for a refinery control ...

You are preparing a bid for a refinery control system for Australian Petroleum Ltd (APL) using the CoCoMo 81 estimation model. You are familiar with industrial control system softw

Calculate the values of software, Q. For the program given below, calculate...

Q. For the program given below, calculate the values of software science measures like ? , N, V, E and λ . int. sort (int x[], int n) { int i, j, save, im1; /

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

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