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

Managing variability, 1.    McM Cog is a supplier of industrial parts.  Mos...

1.    McM Cog is a supplier of industrial parts.  Most orders are received at a call center. The call center currently has 10 phone lines total, i.e., a maximum of 10 callers may b

Show the reasons of current software crisis, Q. Show the Reasons of current...

Q. Show the Reasons of current software crisis? larger problem sizes, increasing skill shortage, and lack of adequate training in software engineering,

Explain dynamic testing, Verification or validation performed which impleme...

Verification or validation performed which implements the system's code.

What are the various testing activities, What are the various testing activ...

What are the various testing activities? i. Test planning ii. Test case design iii. Data collection iv. Test execution v. Effective evaluation

What are the principle stages of vord method, What are the principle stages...

What are the principle stages of VORD method? Viewpoint identification: Identify the services given to each viewpoint. Viewpoint structuring: Grouping linked viewpoints in t

Explain installation testing, Installation testing is testing full, partial...

Installation testing is testing full, partial, upgrade, or install/uninstall processes. The installation test for a release is conducted with the aim of demonstrating production re

Explain top down design, Top down design: A top down design approach begin...

Top down design: A top down design approach begins by identifying the main modules of the system, decomposing them into their lower level modules and iterating unless the desired

Explain basis path testing, Explain Basis Path Testing? Ans) Basis path ...

Explain Basis Path Testing? Ans) Basis path testing is a white-box method. It permits the design and definition of a basis set of execution paths. The test cases created from th

Define about the software development life cycle, Define about the Software...

Define about the Software Development Life Cycle The different steps (known as phases) that are adopted in development of this process are collectively called as Software Devel

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