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

How lru technique is implemented, How LRU technique is implemented The ...

How LRU technique is implemented The LRU policy is more difficult to execute but has been more attractive on the assumption that the least recently used page is a better candid

Difference between pilot and beta testing, Difference between Pilot and Bet...

Difference between Pilot and Beta Testing. Pilot testing includes having a group of end users try the system prior to its full deployment in order to give feedback on its perfo

Define software process, Define software process. Software process is e...

Define software process. Software process is explained as the structured set of activities that are need to develop the software system.

Define cyclomatic complexity, Define Cyclomatic complexity Cyclomatic ...

Define Cyclomatic complexity Cyclomatic complexity :- This is a measure of the control complexity of a program. This control complexity may be connected to program understanda

Explain big-bang testing, Big-Bang Testing : In this all the modules after ...

Big-Bang Testing : In this all the modules after unit testing are joint and tested in one go. The problem with this type of testing is debugging of errors.

Explain the stages of rapid application development model, Question: a)...

Question: a) It has often been argued that Rapid Application Development results in small stand-alone systems running in isolation. Discuss. b) Rapid Application developmen

What is error seeding, Define Error seeding? Ans) The process of intenti...

Define Error seeding? Ans) The process of intentionally adding called as faults to those already in a computer program for the purpose of monitoring the rate of recognition and

What is the meaning of cardinality in data modelling, What is the meaning o...

What is the meaning of cardinality in data modelling? Cardinality in data modelling, cardinality specifies how the of occurrences of one object is linked to the number of occur

What does validation represent, What does Validation represent? Validat...

What does Validation represent? Validation shows the set of activities that ensure that the software that has been built is satisfying the customer needs.

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