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 process and product quality, Explain Process and product quality ...

Explain Process and product quality The quality of a developed product is influenced by the quality of the production process. This is important in software development as some

SDLC model, What is the advantage of using prototype software development m...

What is the advantage of using prototype software development model instead of waterfall model?

What is configuration management planning, What is Configuration management...

What is Configuration management planning? All products of the software process may have to be managed: Specifications; Designs; Programs; Test data; User

Define software scope, Define software scope. The first software projec...

Define software scope. The first software project management activity is the determination of software scope. Scope is explained answering the following questions. Context:

Computer science, Write a report that explains the agile principles for rap...

Write a report that explains the agile principles for rapid software development, and recommend and justify an appropriate method for adoption.

Functional requirement for a library management system, Write down the func...

Write down the functional requirement for a Library management system. The user should capable to search either all of the primary set of databases or select a subset of dat

What is recovery/error testing, Recovery/error testing is testing how well ...

Recovery/error testing is testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.

State the defined level of maturity model, Level 3 (Defined) The org...

Level 3 (Defined) The organisation satisfies all the requirements of level-2. Atthis maturity level, the softwaredevelopmentprocesses arewell defined, managed and documented

What is verification, What is verification?     Verification is the pro...

What is verification?     Verification is the process of determining whether the output of single phase of software development conforms to that of its last phase, whereas vali

Clue-less system, The Clue-Less system is a software version of the popular...

The Clue-Less system is a software version of the popular board game Clue. The rules of Clue-Less mirror those of Clue, with the exception of a modified navigation scheme. The soft

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