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

What are the main objectives of reverse engineering, What are the main obje...

What are the main objectives of reverse engineering? The main objectives of the reverse Engineering process are: (i) It helps the companies to understand the difficulties

Incremental model, four circumstances where incremental model is appropriat...

four circumstances where incremental model is appropriate?

Explain static multivariable model, Q. Explain Static multivariable model? ...

Q. Explain Static multivariable model? They relies on several variables representing various aspects of the software development environment for example methods used and user p

What is reverse engineering, Q. What is reverse engineering? Ans. It ...

Q. What is reverse engineering? Ans. It is a method of analysing software with a view to understanding its design and specification. - In source code, reverse engineering

What is requirement traceability matrix, Requirement traceability matrix ...

Requirement traceability matrix RTM is a matrix tying up needs with the testcases. It is a way of making sure that each requirement has a corresponding testcase which will be t

Mention some of the notations for requirements specification, Mention some ...

Mention some of the Notations for requirements specification. Structured natural language: Use standard Templates or form. Design description language: Programming langua

Introduction to software testing, Derive input space partitioning tests for...

Derive input space partitioning tests for the BoundedQueue class with the following signature:

Defect amplification model with no review, How can we know about to divide ...

How can we know about to divide numbers from total error from which half passed through error and half passed to amplified and how to generate defect efficiency?

Explain bottom-up integration, Bottom-up integration This testing start...

Bottom-up integration This testing starts construction and testing with the components at the lowest levels in the program structure.

Infomation systems, How can a company improve quality of business informati...

How can a company improve quality of business information?

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