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

What is process and product quality, What is Process and product quality? ...

What is Process and product quality? The quality of a developed product is influenced by the quality of the production process. This is significant in software development

Determine the level 0 and level 1 of DFD, Determine the level 0 and level 1...

Determine the level 0 and level 1 of DFD External entities provide input data for processing. During processing, some intermediate data is generated. After final processing, fi

Function module can be called from a transaction screen, A function module ...

A function module can be called from a transaction screen outside an ABAP/4 program. Yes, a function module called from transaction screen.

Driven development, what is driven development?give example what benifit of...

what is driven development?give example what benifit of driven development

What is the meaning of scm and sci, What is the meaning of SCM? Softwar...

What is the meaning of SCM? Software Configuration Management is termed as a set of actions performed for identifying, organizing and controlling changes throughout the lifecyc

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.

Define the quality control, Quality Control Quality control is a method...

Quality Control Quality control is a method in which the product's quality is compared with standards and corrective actions taken if needed. Quality control activities focus o

What is structure chart, Structure chart:  A structure chart is a top-down...

Structure chart:  A structure chart is a top-down modular design tool, constructed of squares representing the dissimilar modules in the system, and lines that connect them. The l

What is evolutionary prototype, Evolutionary Prototype In this, prot...

Evolutionary Prototype In this, prototype is constructed to learn about software problems and their solutions in successive steps. Prototype is initially developed to satisf

Explain the boundary value analysis, What is Boundary value Analysis? ...

What is Boundary value Analysis? Boundary value analysis is a method in software testing where tests are designed for showing boundary values. The values will be on the edge 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