## 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}.

#### State the working of spiral model, State the working of spiral model In...

State the working of spiral model In spiral model, after every phase a review is performed regarding all products developed up to that point and plans are developed for the sub

#### Explain inspection, Explain Inspection? Ans) An inspection is more forma...

Explain Inspection? Ans) An inspection is more formalized than a 'walkthrough', typically with 3-8 people containing a moderator, reader, and a recorder to take notes. The subje

#### 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

fff

#### What is a state transition diagram, What is a state transition diagram? ...

What is a state transition diagram? State transition diagram is basically a collection of states and events. The events cause the system to change its state. It also show what

#### What does data modelling means, What does data modelling means? Data mo...

What does data modelling means? Data modelling is the first step in the analysis modelling. In data modelling the data objects are checked independently of processing. The data

#### Online shopping time line chart, give me a graph of online shopping time li...

give me a graph of online shopping time line chart

#### Why system flowcharts are used, System flowcharts System flowcharts are...

System flowcharts System flowcharts are used to demonstrate how all the components in a system link together (for example input, storage, output, processing etc.). They are ver

#### State the working of system evaluation, State the Working of System Evaluat...

State the Working of System Evaluation compare final solution with original requirement identify any limitations in system identify any necessary improvements which

#### Explain the stages of rapid application development model, Question: a)...

Question: a) It has often been argued that Rapid Application Development results in small stand-alone systems running in isolation. Discuss. b) Rapid Application developmen  