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

Explain fan in, FAN IN is simply a count of the number of other Components...

FAN IN is simply a count of the number of other Components that can call, or pass control, to Component A.

Reverse engineering, explain the effect of reverse engineering of software ...

explain the effect of reverse engineering of software development #

Water-fall model of the system development life cycle, Problem: (a) Bri...

Problem: (a) Briefly describe the "water-fall" model of the system development life cycle. (b) How would intranets be useful in a Public Sector Environment? (c) How can p

Equivalence class testing, Equivalence class testing Equivalence class ...

Equivalence class testing Equivalence class testing is based on partitioning the input domain of a program into a number of equivalence classes so that the test of a representa

What is boundary value testing, A testing technique using input values at, ...

A testing technique using input values at, just below, and just above, the definite limits of an input domain; and with input values causing outputs to be at, just below, and just

Define the quality control, Quality Control Quality control is a method...

Quality Control Quality control is a method in which the product's quality is compared with standards and corrective actions taken if needed. Quality control activities focus o

When do you choose automated testing over manual testing, When do you choos...

When do you choose automated testing over manual testing? Automation is chosen when -A similar set of tests need to be repeated again and again -When a single test requi

Explain testing, 1) The process of operating a system or component under pa...

1) The process of operating a system or component under particular conditions, observing or recording the results, and making an evaluation of some aspect of the system or componen

Code restructuring, Ask quewhat is code restructuringstion #Minimum 100 wor...

Ask quewhat is code restructuringstion #Minimum 100 words accepted#

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