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

Define the structural testing, Q. Define the Structural Testing? For a ...

Q. Define the Structural Testing? For a moment it called white-box testing. At this point derivations of test cases are according to the program structure. Knowledge of the pro

What are the tools used in system analyst, What are the Toolsused in system...

What are the Toolsused in system analyst Systems analyst have numerous tools to help them in carrying out their work. As many of their projects are for big companies it is ess

Explain operational testing, Describe Operational Testing? Ans) Testing ...

Describe Operational Testing? Ans) Testing done by the end user on software in its normal operating environment.

Why testing is significant with respect to software, Why testing is importa...

Why testing is important with respect to software? A testing process focuses on logical internals of software ensuring that all statements have been tested and all are function

Why do dns root servers hold entries for two-level, QUESTION - Name Service...

QUESTION - Name Services (a) Illustrate with help of a diagram the results of a DNS lookup and an ARP lookup assuming we are using IPv4. (b) Why do DNS root servers hold en

Script file, how to make script file volume of pyramid

how to make script file volume of pyramid

What is fault tree analysis, What is Fault Tree Analysis? Ans) A form of...

What is Fault Tree Analysis? Ans) A form of safety examines that assesses hardware safety to give failure statistics and sensitivity analyses that point to the possible effect o

Define maintenance, Define maintenance. Maintenance is explained as the...

Define maintenance. Maintenance is explained as the process in which changes are executed by either modifying the existing system's architecture or by adding latest components

How to write the data dictionary, Write down the Data dictionary for the da...

Write down the Data dictionary for the data item "Telephone Number". Names: Telephone number Aliases: none Where to use /How to use: assess against set-up Explanation

Water-fall model of the system development life cycle, Problem: (a) Bri...

Problem: (a) Briefly describe the "water-fall" model of the system development life cycle. (b) How would intranets be useful in a Public Sector Environment? (c) How can p

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