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 project scheduling, Question 1 What is project management? Explain...

Question 1 What is project management? Explain various activities involved in project management Question 2 Describe the following with respect to Estimation and Budgeting of

What is prototyping approaches in software process, What is prototyping app...

What is prototyping approaches in software process? i. Evolutionary prototyping - In this approach of system development, the initial prototype is prepared and it is then refin

Discuss in details the design steps in transaction mapping, Discuss in deta...

Discuss in details the design steps in transaction mapping. Re-Check the fundamental model. Re-check and refine the DFD for the software. Determine the DFD has either

What is stepwise refinement, What is stepwise refinement? Stepwise Ref...

What is stepwise refinement? Stepwise Refinement:- Stepwise Refinement is a top-down design method originally proposed by Niklaus Wirth. A program is developed by successively

Determine the level 4 of key process areas, Determine the Level 4 of key pr...

Determine the Level 4 of key process areas Level 4 KPAs: 1)      Quantitative Process Management (QP): It states quantitative standards for software process. 2)

Advanced software engineering, Is there ever a case when the generic activi...

Is there ever a case when the generic activities of the software engineering process don’t apply?

Library housekeeping software, Library Housekeeping Software: The mark...

Library Housekeeping Software: The market is flooded with a variety of packages specially designed to support library housekeeping operations such as acquisitions, cataloguing

What are the aims of testing, What are the aims of testing? i. T...

What are the aims of testing? i. Testing is a process of executing a program with the target of finding an error. ii. A good test case is one that has high possibilit

What is problem, What is Problem Any deviation from defined standards. S...

What is Problem Any deviation from defined standards. Similar as defect.

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