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

Statistical and Numerical methods using C++, 5. Write a c++ program to find...

5. Write a c++ program to find the sum of 0.123 ??103 and 0.456 ??102 and write the result in three significant digits.

Explain inspection, Explain Inspection? Ans) An inspection is more forma...

Explain Inspection? Ans) An inspection is more formalized than a 'walkthrough', typically with 3-8 people containing a moderator, reader, and a recorder to take notes. The subje

Discuss in detail about data modeling, Discuss in detail about data modelin...

Discuss in detail about data modeling. Data modelling makes use of the ERD. Consists of three interconnected information. The data object. Attributes. Relatio

Draw a use case diagram, QUESTION (a) Draw a use case diagram (UCD) for...

QUESTION (a) Draw a use case diagram (UCD) for the given case study. For any one use case give a detail use case specification (b) Describe the different phases and workflow

How software metrics is beneficial for sfotware engineer, How software metr...

How software metrics is beneficial for sfotware engineer Using software metrics, software engineer measures software processes and requirements for that process. Software measu

What is configuration management, What is configuration Management? Sof...

What is configuration Management? Software Configuration management (SCM) is the task of tracking and controlling alters in the software. Configuration management practices con

Hello, What is Queue management sysyem? literature review of Queue managem...

What is Queue management sysyem? literature review of Queue management system

Define repeated inheritance and encapsulation, Q. Define Repeated inheritan...

Q. Define Repeated inheritance and Encapsulation? Repeated inheritance If a class inherits in excess of once from the same class then it is referred to as repeated inherit

What is the work product of software design process, What is the work produ...

What is the work product of software design process and who does this? A design model that encompasses architectural, interface, component level and their representations is th

Expert Systems, Explain model-based expert systems and frame-based expert s...

Explain model-based expert systems and frame-based expert systems

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