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

Distinguish between verification and validation, Distinguish between verifi...

Distinguish between verification and validation. Verification refers to the set of activities that make sure that software correctly executes a specific function. Validation re

What are the various level of testing, Testing is a process of implementing...

Testing is a process of implementing a program with the intent of finding an error. Various level of testing are :    Unit Testing     Integrating testing     Valida

Define the stress testing, Define the Stress testing: - It checks the r...

Define the Stress testing: - It checks the robustness of application. - It verifies that application consistently gives satisfactory performance under unfavorable and extrem

Illustrate exploratory testing, Illustrate exploratory testing. - In ex...

Illustrate exploratory testing. - In exploratory testing approach testers are involved in maximum test execution and minimum planning. - Planning includes creation of a test

Discuss the various strategies of design, Discuss the various strategies of...

Discuss the various strategies of design.  The design strategies are:      Functional design:   The system is designed from a functional viewpoint, initialising from with a

What does level0 dfd means, What does Level0 DFD means? Level0 DFD is c...

What does Level0 DFD means? Level0 DFD is called as 'fundamental system model' or 'context model'. In the context model the total software system is represented by a single bub

Explain the process of prototyping, Explain the process of Prototyping ...

Explain the process of Prototyping Prototyping is a process which enables developer to create a small model of software. IEEE 610.12 standard defines prototype as a preliminary

Give explanation about the software testing strategies, Give explanation ab...

Give explanation about the software testing strategies. A strategic approach to software testing. Verification and Validation. Verification means a set of work o

Explain different recording modes, Explain different recording modes. T...

Explain different recording modes. There are two type of recording modes: context sensitive and analog. - Context Sensitive - identifies GUI objects and records operations

The spiral model of software development, The spiral model of software deve...

The spiral model of software development Contains project risks evaluation during every iteration

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