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 class diagram, Class diagram: A class diagram in the Unified Model...

Class diagram: A class diagram in the Unified Modelling Language (UML) is a type of static structure diagram that defines the structure of a system by showing the system's classes

Explain diffrent types of system testing, Q. Explain diffrent types of syst...

Q. Explain diffrent types of system testing? System testing System tests are designed to validate a fully developed system to assure that it meets its requirements. There are f

Explain fan in, FAN IN is simply a count of the number of other Components...

FAN IN is simply a count of the number of other Components that can call, or pass control, to Component A.

What is customer (end user), What is Customer (end user)? Ans) The organ...

What is Customer (end user)? Ans) The organization or individual, internal or external to the producing organization that takes the product.

Need of output comparators, Q. Need of Output comparators? Output comp...

Q. Need of Output comparators? Output comparators These are used in dynamic testing-both single-module and multiple-module (system level) varieties to check that predicted an

Define design process, Define design process. Design process is a seque...

Define design process. Design process is a sequence of steps carried by which the requirements are translated into a system or software model.

The roles of project stakeholders, The roles of project stakeholders :- ...

The roles of project stakeholders :- Offer resources (time, money, ...) to the project team Instruct developers about their business Be precise and specific about requir

P, a simple text processing program with all essential functions (open and ...

a simple text processing program with all essential functions (open and save text documents, insert and delete text, search for words). We assume that text read from a file is stor

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