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

Basic cocomo model and the detailed cocomo model, Q. Compare the basic COCO...

Q. Compare the basic COCOMO model with the detailed COCOMO model. Ans. COCOMO contains of a hierarchy of three increasingly detailed and accurate forms. Basic COCOMO i

What is the meaning of system engineering, What is the meaning of System En...

What is the meaning of System Engineering? System Engineering means designing, deploying, implementing and operating systems which include hardware, software and user.

Calculate the development time, Q. Assuming the Putnam model and given S = ...

Q. Assuming the Putnam model and given S = 100,000 C = 5000 and D 0 = 15 calculate the development time t d.  Ans: In Putnam model (S/C ) 3 = D 0 t d 7 lhs = 20

Oop, create a class rectangle

create a class rectangle

Give the procedure of the delphi method, Give the procedure of the Delphi m...

Give the procedure of the Delphi method. 1. The co-ordinator shows a specification and estimation form to each expert. 2. Co-ordinator calls a group meeting in which the exp

Explain metrics assumptions of software metrics, Explain Metrics assumption...

Explain Metrics assumptions of Software metrics Software metrics A software property can be calculated. The relationship exists among what we can measure and what we

Scenario easy travel singapore ets, select alife cycle model that you would...

select alife cycle model that you would follow during the devolpment of the easy travil singapore system. give an outline description of thise life cycle and justify your chice of

Explain test plan, Documentation specifying the scope, approach, resources,...

Documentation specifying the scope, approach, resources, and schedule of intended testing activities. It signifies test items, the features to be tested, the testing tasks, respons

Prolog, package(''python'', ''2.6.5''). package(''python'', ''2.5.4''). pac...

package(''python'', ''2.6.5''). package(''python'', ''2.5.4''). package(''python'', ''1.5.2''). package(''python'', ''3.1.0''). and I already have these functions that provide me:

What are repositories used by qtp to store object properties, What are repo...

What are repositories used by QTP to store object properties? QTP uses two kinds of repositories to store object properties. a.) Shared object repository: A global object

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