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 is cocomo, Software project Management & Quality Assurance 1. Brie...

Software project Management & Quality Assurance 1. Briefly explain various activities involved in project management. 2. What is COCOMO? Write necessary steps for cost estim

Explain in detail about scm, Explain in detail about SCM. Software C...

Explain in detail about SCM. Software Configuration Management is an umbrella activity which is used throughout the software process. SCM Activities Identify cha

What does validation represent, What does Validation represent? Validat...

What does Validation represent? Validation show the set of activities that make sure that the software that has been built is satisfying the customer requirements.

Transaction mapping, how transaction mapping is done.??clear me with a brie...

how transaction mapping is done.??clear me with a brief example

When do you choose automated testing over manual testing, When do you choos...

When do you choose automated testing over manual testing? Automation is chosen when -A similar set of tests need to be repeated again and again -When a single test requi

Why software maintenance is require, Why Software maintenance is require ...

Why Software maintenance is require Software maintenance is done due to the below factors. i)  To rectify the errors which are encountered during the operation of software.

Local data object defined in a subroutine, It is possible to assign a local...

It is possible to assign a local data object defined in a subroutine or function module to a field group. False.

State the term- code coverage, State the term- Code Coverage This is a...

State the term- Code Coverage This is an analysis method that determines which parts of software have already been covered by test case suite and which are remaining.

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