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 do you understand by black box testing, Q. What do you understand by b...

Q. What do you understand by black box testing? Black Box Testing:-Black Box Testing is as well called behavioural testing focuses on the functional requirements of the softwar

Explain software testing strategies, A strategy for software testing integr...

A strategy for software testing integrates software test case design methods into a well - planned series of steps that result in the successful construction of software. Common

Explain about spiral model, Q. Explain about Spiral Model? The Spiral m...

Q. Explain about Spiral Model? The Spiral model is one of the well-liked model used for large projects. This model was projected by Boehm in 1988 and it focuses on minimizing t

Software development plan , Phone Company (WLPC) is a provider of wireless ...

Phone Company (WLPC) is a provider of wireless phone service in the US with 100,000 customers serving mostly small markets. WLPC has just purchased additional airwaves in the US, C

Calculate the peak manning and average rate of software, Q. A software proj...

Q. A software project is planned to cost 95PY in a period of 1 year and 9 months. Calculate the peak manning and average rate of software them build up. Ans. Software project

Define the meaning of code inspection, Define the meaning of Code Inspectio...

Define the meaning of Code Inspection - A formal testing technique where programmer reviews source code with a group who ask questions analyzing program logic, analyzing code

Illustrate evolutionary prototyping, Illustrate Evolutionary prototyping ...

Illustrate Evolutionary prototyping Objective: The main objective of this model is to show the working system to the end-user. Example-AI systems. Advantages

What is failure, The inability of a system or system component to perform a...

The inability of a system or system component to perform a needed function within specified limits.

Functional testing and structural test, Differentiate between functional te...

Differentiate between functional testing and structural testing. Functional testing also known as behavioural testing or  Black box testing. In this methods, tester design te

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