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

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

Explain the process of software testing, Explain the process of Software Te...

Explain the process of Software Testing Testing is the process of running the software on manually created inputs with intention to find errors. In process of testing, an atte

Preventive and protective strategies in Cyber Secur, After users are authe...

After users are authenticated, what measures can be employed in order to maintain security when users are away from their computers? 2. Discuss ways in which the use of strong au

What are the benefits of prototyping, What are the benefits of prototyping?...

What are the benefits of prototyping? i. Prototype serves as a basis for deriving system specification. ii. Design quality can be improved. iii. System can be maintained

Feasibility analysis report, Aim to follow the weekly schedule - some time ...

Aim to follow the weekly schedule - some time in each tutorial class will be devoted to working in your teams of two under the guidance of your tutor on this project.  However, te

Product engineering, Product Engineering The Product engineering which ...

Product Engineering The Product engineering which is also called system engineering is a problem solving activity. To function, desired product data, and behaviour are uncovere

Briefly explain integration testing, Q. Briefly explain Integration Testing...

Q. Briefly explain Integration Testing? Integration Testing: In this the module are methodically integrated and tested to find protocol design error, interface problems, errors

Describe component testing, Describe component testing. - Component tes...

Describe component testing. - Component testing is also called as module, unit or program testing. - It looks for defects in software and verifies its functioning. - It c

What is a test build manager, Test Build Managers deliver present software ...

Test Build Managers deliver present software versions to the test environment, install the application's software and relate software patches, to both the application and the opera

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