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 do you mean by polymorphism, Q. What do you mean by Polymorphism? ...

Q. What do you mean by Polymorphism? Polymorphism:- Polymorphism includes the ability to use the same message to objects of different classes and have them behave differently.

Define the minimum cardinality of a relationship, Define the Minimum cardin...

Define the Minimum cardinality of a relationship Minimum cardinality of a relationship is the minimum number of instances of second entity (student, in this case) with every in

Explain lines of code - software metrics, Q. Explain Lines of code - Softwa...

Q. Explain Lines of code - Software Metrics? Lines of code (LOC) is a software metric used to measure the size of a software program by counting the number of lines in the te

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

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

Application design - micro cds-isis software, Application Design: Micr...

Application Design: Micro CDS/ISIS is a text oriented software package. It is a good , ho ice if one wishes to store textual data, retrieve the data by certain criteria, and d

Illustrate about the managed level of maturity model, Level 4 (Managed) ...

Level 4 (Managed) Organisation satisfies all the requirements of level-3. At this level quantitative standards are set for software processes andproducts. Project analysis is

Define about the integration testing, Define about the Integration testing ...

Define about the Integration testing - This test is performed to verify interfaces between system components, interactions between application and file system, hardware and ot

What is inheritance, Q. What is Inheritance? Inheritance:- Inheritance...

Q. What is Inheritance? Inheritance:- Inheritance is defined as the property of objects by which instances of a class can have access to data and programs contained in a previ

What is the best effort estimation for software phases?, Hello, I am a CS ...

Hello, I am a CS graduate and i just got a new job in a software development company. My boss assigned me to come up with what he called "the perfect pie chart" basically he says

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