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

Define the computer based system, Define the computer based system. The...

Define the computer based system. The computer based system can be explained as "a set or an arrangement of elements that are organized to accomplish some predefined goal by pr

What are the common approaches in debugging, What are the common approaches...

What are the common approaches in debugging? Brute force method: The memory dumps and run-time tracks are explained and program with write statements is loaded to get clues to

Explain boundary value analysis, A selection method in which test data are ...

A selection method in which test data are chosen to lie along "boundaries" of the input domain [or output range] classes, data structures, procedure parameters, etc. Choices often

3809ICT, I need help on and assignment that is due on monday can you help ?...

I need help on and assignment that is due on monday can you help ?

Explain code inspection, A manual [formal] testing [error detection] method...

A manual [formal] testing [error detection] method where the programmer reads source code, statement by statement, to a group who ask questions determined the program logic, determ

What are the three activities of risk assessment, What are the three activi...

What are the three activities of risk assessment? The three activities are identifying, examining and giving priorities . Risks can be identified by a check list or looking at

What is a data object, What is a data object? Data object is a collecti...

What is a data object? Data object is a collection of attributes that act as an aspect, characteristic, quality, or descriptor of the object.

What are the various types of system testing, What are the various types of...

What are the various types of system testing? 1. Recovery testing - is planned to check the system's ability to recover from failures. 2. Security testing - determines t

What is change management tools, What is Change management tools? Chang...

What is Change management tools? Change management is a process in which it can be modelled and integrated with a version management system. Change management tools Fo

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