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

Advantage of prototype software development model, Q What is the advantage...

Q What is the advantage of utilizing prototype software development model instead of waterfall model? As well explain the effect of defining a prototype on the overall cost of the

Distinguish software faults and software failures, Distinguish software fau...

Distinguish software faults and software failures Ans: In case of a failure, the software does not do what the user expects. A fault is a programming error that may or may not

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.

What does a usecase diagram represent, Problem : (a) What does a UseCas...

Problem : (a) What does a UseCase Diagram represent? (b) Draw a UseCase Diagram for the above case study. (c) For any one use case give a detail use case specification.

What is equivalence partitioning, Equivalence Partitioning: -Equivalence pa...

Equivalence Partitioning: -Equivalence partitioning is black box testing method that separates the input domain of a program into classes of data from which test cases can be deriv

Describe system testing, Q. Describe system testing? Ans. System testi...

Q. Describe system testing? Ans. System testing: System test are designed to validate a completely developed systems with a view to assuring that it meets its requirements

Describe requirement engineering, Define Requirement Engineering . Requi...

Define Requirement Engineering . Requirement Engineering is a process in which all of the activities required to maintain and create a system requirements document. The four

What is recovery testing, What is recovery testing? Recovery testing is...

What is recovery testing? Recovery testing is a system test that forces the software to fail in a various of ways and verifies that recovery is properly done.

Compare and contrast reliability and availability, Q. Compare and contrast ...

Q. Compare and contrast reliability and availability? Ans. Reliability: The probability of failure-free system operation over a specified time in a given environment for a gi

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