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

Determine the business process engineering tools, What are business process...

What are business process engineering tools? By modelling the strategic information requirements of an organization, business process engineering tools provide a "meta-model" f

What is Regression testing, Regression testing:- It is the re-execution ...

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 e

What is verification, Q. What is verification? Ans. Verification is...

Q. What is verification? Ans. Verification is the procedure of determining whether the output of one phase of software development conforms to that of its previous phase wh

State the working of spiral model, State the working of spiral model In...

State the working of spiral model In spiral model, after every phase a review is performed regarding all products developed up to that point and plans are developed for the sub

Stat352-13a - minitab analyses, TASK A: Minitab analyses for Case Study tas...

TASK A: Minitab analyses for Case Study task 3 (robustness for the filler flap design; TASK3.MTW) Describe an 8-run 2-level fractional factorial experiment to check the robustne

What transform mapping refers, What transform mapping refers? The trans...

What transform mapping refers? The transform mapping is a bundle of design steps applied on the DFD in order to map the transformed flow characteristics into specific architect

Explain performance testing, Performance testing signifies loads, volumes, ...

Performance testing signifies loads, volumes, and response times, as described by requirements. Although performance testing is a part of system testing, it can be regarded as a ex

Determine the process of software coding, Determine the process of software...

Determine the process of software Coding The input to coding phase is the SDD document. In this stage, design document is coded according to module specification. This phase t

How the class concept used in software engineering, Q. How the Class concep...

Q. How the Class concept used in Software Engineering? Class:- A class encapsulates data and procedural abstractions required to describe the content and behavior of some real

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