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

Illustrate about the waterfall model, Waterfall Model It is the oldest...

Waterfall Model It is the oldest, simplest and most widely used process model. In waterfall model, every phase of the life cycle is finished before start of a new phase. It's

What is the purpose of timeline chart, What is the purpose of timeline char...

What is the purpose of timeline chart? The purpose of the timeline chart is to emphasize the scope of the individual task. As set of tasks are given as input to the timeline ch

Construct an e-r diagram, Construct an E-R Diagram for the application desc...

Construct an E-R Diagram for the application described on the next page. Include any additional assumptions you made about the application requirements. The assumptions may not dir

Illustrate intermediate COCOMO model, Q.Illustrate Intermediate COCOMO mode...

Q.Illustrate Intermediate COCOMO model ? The intermediate COCOMO model approximation the software development effort by using 15 cost drivers' variables besides the size variab

Define the alpha testing and beta testing, Alpha testing and Beta testing ...

Alpha testing and Beta testing Alpha testing is conducting acceptance testing in the environment where the application was formed. It is done by the customer. Beta testing is c

Which is not the purpose of full annealing, Which is not the purpose of ful...

Which is not the purpose of full annealing Produces hardest material.

What is lload testing, Load testing is testing an application under heavy l...

Load testing is testing an application under heavy loads, like the testing of a web site under a range of loads to verify at what point the system response time will degrade or fai

Software modelling, Enterprise software platforms are designed to simpl...

Enterprise software platforms are designed to simplify complex enterprise problems for the development, deployment, and maintenance of multi-tier enterprise solutions. In

What is verification represent, What is Verification represent? Verific...

What is Verification represent? Verification represents the set of actions that are performed to confirm that the software correctly implements the particular functionality.

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