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

Cds - isis software, CDS/ISIS Software (Micro Version): Micro CDS/ISIS...

CDS/ISIS Software (Micro Version): Micro CDS/ISIS is an advanced non-numerical information storage and retrieval software package. It was developed by UNESCO in 1985 to meet t

What is failure, The inability of a system or system component to perform a...

The inability of a system or system component to perform a needed function within specified limits.

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

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.

User interface design, Develop a detailed design to support the use case sp...

Develop a detailed design to support the use case specified in the accompanying document: ‘ Asg2 . (Hint: Follow the process for use case realization and develop analysis clas

Define the term software architecture, Define the term "software architectu...

Define the term "software architecture." The software architecture of a program or a computing system is the basic structure of the system, which comprises software components

Database mapping, database mapping from class to database

database mapping from class to database

How does the risk factor affect the spiral model, How does the risk factor ...

How does the risk factor affect the spiral model of software development? Ans: Risk Analysis phase is the most significant part of "Spiral Model". In this phase all possible (a

List any characteristics of a good srs, List any three characteristics of a...

List any three characteristics of a good SRS. Ans:The SRS should be: Correct , Unambiguous, Complete 1. Correct: An SRS is correct if each requirement stated therein is on

Explain error, A discrepancy among a computed, observed, or calculated valu...

A discrepancy among a computed, observed, or calculated value or condition and the true, specified, or theoretically correct value or condition; 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