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

Applicability with reference to software reliability models, Q. Applicabili...

Q. Applicability with reference to software reliability models? Applicability : It is another important characteristic of a model. The model must be judged by its degree of a

Demonstrate the symbol used in data dictionary, Demonstrate the symbol used...

Demonstrate the symbol used in data dictionary A number of the symbols used in data dictionary are as following: X= [a/b]                                   x comprises eithe

Diffrence between object and function oriented design, Q. Differentiate bet...

Q. Differentiate between object oriented and function oriented design. Ans: • Function-oriented design depend on identifying functions which transform their inputs to create

What are the common approaches in debugging, What are the common approaches...

What are the common approaches in debugging? Brute force method: The memory dumps and run-time tracks are examined and program with write statements is loaded to obtain clues t

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

Write short notes on empirical estimation models, Write short notes on empi...

Write short notes on empirical estimation models. Estimation model for computer software uses empirically derived formulas to assume effort as a function of line of codes (LOC)

Advanced software engineering, Is there ever a case when the generic activi...

Is there ever a case when the generic activities of the software engineering process don’t apply?

Determine the advantages of spiral model, Determine the advantages of spira...

Determine the advantages of spiral model In this model Software development starts with lesser requirements specification, lesser risk analysisetc. Radical dimension this model

what is a user interface, What is a user interface Ans) "User interfac...

What is a user interface Ans) "User interface" is the interface among a human user and a computer system. It access the passage of information among a human user and hardware or

What is data modelling, What is data modelling? Data modeling is the ba...

What is data modelling? Data modeling is the basic step in the examine modeling. In data modeling the data objects are examined independently of processing. The data model s

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