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 bottom-up integration, Bottom-up integration This testing start...

Bottom-up integration This testing starts construction and testing with the components at the lowest levels in the program structure.

Core architectural concepts and their interrelationships, Question: (a)...

Question: (a) Discuss on the core architectural concepts and their interrelationships. (b) A telecommunications company is looking for a software architect for one its maj

What is the meaning of system engineering, What is the meaning of System En...

What is the meaning of System Engineering? System Engineering means designing, deploying, implementing and operating systems which include hardware, software and user.

Discuss in details the design principles, Discuss in details the design pri...

Discuss in details the design principles. The design process is free from tunnel vision. The design should be observable to the analysis model. Design should not reinv

What is black box and white box testing techniques, Software Project Manage...

Software Project Management 1. What is black box and white box testing techniques? 2. Describe different roles of the software development? 3. List out different project

Explain integration testing, 1. An orderly development of testing in which ...

1. An orderly development of testing in which software elements, hardware elements, or both are joined and tested, to check out their interactions, unless the entire system has bee

Illustrate function-oriented metrics, Q. Illustrate Function-oriented metri...

Q. Illustrate Function-oriented metrics? Function-oriented metrics: Function-oriented software metrics utilize a measure of the functionality delivered by an application as a

Define the drivers and stubs, Write about drivers and stubs. Drivers an...

Write about drivers and stubs. Drivers and stub software has to be developed to test incompatible software. The " driver" is a program that accepts the test data and prints

What is product metrics, Product metrics: explain the characteristics of t...

Product metrics: explain the characteristics of the product such as size, complexity, design features, performance, efficiency, reliability, portability, etc.

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