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 debugging, The act of attempting to verify the cause of the symptom...

The act of attempting to verify the cause of the symptoms of malfunctions noticed by testing or by frenzied user complaints.

What is a modular system, Q What is a modular system? List the important pr...

Q What is a modular system? List the important properties of a modular system? Ans: A modular system consists of well-defined manageable units to well-defined interfaces among

Decision table, how to draw decosion table? questions based on decision tab...

how to draw decosion table? questions based on decision table.

What is regression testing, Regression testing It is the re-execution o...

Regression testing It is the re-execution of some subset of tests that have already been conducted to make sure the changes that have not been propagated unintended side effect

What does the insert statement in extract datasets do, What does the insert...

What does the insert statement in extract datasets do? It describes the fields of a field group.

Diff. b/w IT & CSE TRADE, Hello I want to know the actual difference b/w in...

Hello I want to know the actual difference b/w information technology & computer science & engineering ? Thanks

What is incremental testing, Incremental testing is fractional testing of a...

Incremental testing is fractional testing of an incomplete product. The aim of incremental testing is to give an early feedback to software developers.

What is system engineering, What is System Engineering? System Engineer...

What is System Engineering? System Engineering means designing, executing, deploying and operating systems which contain software, hardware, and people.

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