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 regression testing, Regression test cases which a program has previ...

Regression test cases which a program has previously implemented correctly in order to detect errors spawned by changes or corrections done during software development and maintena

#title., Ask EXPLAIN GENERIC PROCESS MODEL & REQUIREMENT ENGINEERING PROCE...

Ask EXPLAIN GENERIC PROCESS MODEL & REQUIREMENT ENGINEERING PROCESSquestion #Minimum 100 words accepted#

Artificial intelligence, what are the characteristics of artificial intelli...

what are the characteristics of artificial intelligence

Explain the design steps in transaction mapping, Explain the design steps i...

Explain the design steps in transaction mapping. Review the fundamental model. Review and refine the DFD for the software. Verify whether the DFD has the transfo

What is a variant, What is a variant Ans) "Variants" are versions of a p...

What is a variant Ans) "Variants" are versions of a program.

Explain the seven model primitives in 3d lingo, (a) Copying a graphic imag...

(a) Copying a graphic image from the Web can be as easy as pointing to it and clicking the right mouse button or performing a screen capture. The question is, under what circumsta

How is the state diagram helpful to an engineer, Problem: a) Assume a w...

Problem: a) Assume a washing machine. List all possible states of the washing machine. Draw a state diagram showing also the events triggering the change of states where poss

Important issues that a srs must address, The important issues that a SRS m...

The important issues that a SRS must address are:  (a) System goals and requirements are different (b) Request Definition (c) Request Specification (d) Software Specif

What are the various categories of software, What are the various categorie...

What are the various categories of software? Application software System software Engineering/Scientific software Web Applications Embedded software Artificial I

Explain test case, Documentation verifying inputs, predicted results, and a...

Documentation verifying inputs, predicted results, and a set of implementation conditions for a test item. A test case is a document that explains an input, action, or event and

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