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 project estimation techniques, Question: a) List and explain t...

Question: a) List and explain three project Estimation techniques. b) During an estimation exercise, a work breakdown structure (WBS) is used as checklist for the activitie

What is a database administrator, Test Build Managers, System Administrator...

Test Build Managers, System Administrators and Database Administrators deliver new software versions to the test environment, install the application's software and apply software

What is a vertical microinstruction, What is a vertical microinstruction? ...

What is a vertical microinstruction? Ans) A vertical microinstruction is a microinstruction that states one of a sequence of operations required to carry out a machine language

What is checksheet, What is Checksheet? Ans) A checksheet is the form us...

What is Checksheet? Ans) A checksheet is the form used to record data as it is gathered.

State the defined level of maturity model, Level 3 (Defined) The org...

Level 3 (Defined) The organisation satisfies all the requirements of level-2. Atthis maturity level, the softwaredevelopmentprocesses arewell defined, managed and documented

Explain structure-based testing techniques, Explain Structure-based testing...

Explain Structure-based testing techniques - Structure-based testing methods are also termed as white-box testing techniques. - These are dynamic methods. - They use the

Data structure, what do you understand by recursion.explain the simulating ...

what do you understand by recursion.explain the simulating recursion in brief.program of fabinacon series by recursion

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