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 the data flow diagram, Define Data Flow Diagram. A Data flow di...

Define Data Flow Diagram. A Data flow diagram is a graphical description that depicts information flow & the transforms that are applied as data move from input to output. T

Discuss about the software maintenance, Discuss about the Software Maintena...

Discuss about the Software Maintenance Maintenance in the normal sense means correcting problems caused by wear and tear though software maintenance is different.  Software is

What do you understand by software quality, What do you understand by "Soft...

What do you understand by "Software Quality"? Quality software means, it's: - Free of bugs - Is easily maintainable - Within the budget - Meets requirements - De

Inmagic plus- microcomputer based software package, INMAGIC Plus: INMA...

INMAGIC Plus: INMAGIC Plus is a microcomputer- based software package designed to build, maintain and use textual databases including bibliographic databases. As a generalised

Explain software testing, Define software testing? Software testing is ...

Define software testing? Software testing is a critical element of software quality assurance and shows the ultimate review of design, specification, and coding.

Software restructuring, Software restructuring Software restructuring c...

Software restructuring Software restructuring changes source code and / or data an effort to make it amenable to future changes. In general, restructuring does not change the o

Write short note on the various estimation techniques, Write short note on ...

Write short note on the various estimation techniques. Algorithmic cost modelling - the cost estimation is depend on the size of the software. Expert judgement - The experts fr

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