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

Explain structural things using conceptual model, Question: Part of the...

Question: Part of the conceptual model of UML is made up of four "things": "Structural things", Behavioral things", "Grouping things" and "Annotational things". Explain, using

Differentiate between print preview and layout prev, What is the difference...

What is the difference between Print Preview and Layout Preview? Print Preview and Layout Preview When a report is observed in Print preview, it appears almost exactly as it

SYSTEM ANALYSIS AND DESIGN, A program is to be developed to simulate the op...

A program is to be developed to simulate the operations of a scientific calculator. List the facilities to be provided by this calculator. Analyze this using a DFD 0 - level and 1

Determine the cyclomatic compexity, consider the following flow chart, a. D...

consider the following flow chart, a. Draw the flow graph and show the edges, regions and nods clearly b. show the independent paths c. calculate the cyclomatic complexity in three

What are quality factors, What are Quality factors? For large projects...

What are Quality factors? For large projects with 'average' capabilities, the development process verifies product quality. For small projects, the capabilities of the deve

Mobile help dack mangmant system, hello there!! I have above subject that I...

hello there!! I have above subject that I have final project and also I required with program

Incremental model, four circumstances where incremental model is appropriat...

four circumstances where incremental model is appropriate?

What is architectural transformation, What is architectural transformation?...

What is architectural transformation? This is a more radical approach to software change then maintenance as it involves making significant changes to the architecture of the s

Describe the formal software process model, Question 1: (a) Describe t...

Question 1: (a) Describe the Formal Software Process Model. (b) What are the main strengths of the Formal Software Process Model ? (c) Why is the Software Process Mode

Determine the sanity testing, Determine the Sanity testing - Sanity te...

Determine the Sanity testing - Sanity testing is used to ensure that conflicting or multiple functions or variables don't exist in system. - It verifies that components of

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