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 structural things using conceptual model, Question: Part of the...

Question: Part of the conceptual model of UML is made up of four "things": "Structural things", Behavioral things", "Grouping things" and "Annotational things". Explain, using

Why srs also known as the blackbox specification of system, Why is SRS also...

Why is SRS also known as the blackbox specification of system ? Ans: SRS document is a contract among the development team and the customer.  Once the SRS document is accepted

Describe the types of structure charts, Q. Describe the Types of Structure ...

Q. Describe the Types of Structure Charts? Transaction structure it control module calls subordinate modules each of which handles a particular transaction Many afferent

What does data modelling means, What does data modelling means? Data mo...

What does data modelling means? Data modelling is the first step in the analysis modelling. In data modelling the data objects are checked independently of processing. The data

Event procedure and a general procedure, (a) Visual Basic is governed by an...

(a) Visual Basic is governed by an event processor. Explain the meaning of this phrase. (b) Differentiate between an event procedure and a general procedure. (c) "For datab

Data dictionary, how to write data dictionary for course management system

how to write data dictionary for course management system

State the requirements analysis of SDLC, Requirements Analysis of SDLC ...

Requirements Analysis of SDLC Requirements describe "What" of a system. Objectives which are to be achieved in Software process development are requirements. In requirements a

Explain steps in building the structure chart, Q. Explain Steps in Building...

Q. Explain Steps in Building the Structure Chart? Steps in Building the Structure Chart 1. Identify top level modules as well as decompose them into lower levels 2. Add

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