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

Explain network switching subsystem in gsm, Question: (a) (i) What are...

Question: (a) (i) What are the main components of the Network Switching Subsystem in GSM? (ii) What are the main functions of the Network Switching Subsystem? (b) What

Define capability maturity model, CMM is a strategy for enhancing the softw...

CMM is a strategy for enhancing the software process irrespective of the actual life cycle model utilized. SEI (Software Engineering Institute) of Carnegie-Mellon University develo

What happens when gui maps are loaded, What happens when GUI maps are loade...

What happens when GUI maps are loaded? When a GUI map is loaded following things take place: - All object logical names, window information and physical descriptions gets lo

Explain the evolutionary model, Explain the Evolutionary Model. Ideal f...

Explain the Evolutionary Model. Ideal for software products that have their feature sets redefined during development because of user feedback and other factors. The Evolutiona

Operation of the clue-less system, A player with an active turn must make a...

A player with an active turn must make a valid move with their character or pass their turn. As a first move in the game, the player can move to the hallway that is adjacent to the

December 2010, differentiate between structured analysis and structured des...

differentiate between structured analysis and structured design

Define cyclomatic complexity, Define cyclomatic complexity? Cyclomatic ...

Define cyclomatic complexity? Cyclomatic complexity defined as software metric which gives the quantitative measure of logical complexity of the program. The Cyclomatic comp

What is system engineering, What is System Engineering? System Engineer...

What is System Engineering? System Engineering means designing, executing, deploying and operating systems which contain software, hardware, and people.

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