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

Data Dictionary, The University needs to develop an online student registra...

The University needs to develop an online student registration system for new CAO entrants. This system will allow new students to enroll in their university course. Each student i

What are the various types of coupling, What are the various types of coupl...

What are the various types of coupling? i. Data coupling - The data coupling is likely by parameter passing or data interaction. ii. Control coupling - The modules share c

What is bottom-up approach, What is bottom-up approach? System develop...

What is bottom-up approach? System developed starting from detailed modules. Testing begins from the detailed modules and proceeds up to the higher levels of hierarchy.

Explain big-bang testing, Big-Bang Testing : In this all the modules after ...

Big-Bang Testing : In this all the modules after unit testing are joint and tested in one go. The problem with this type of testing is debugging of errors.

What is the evolution of software engineering, What is the Evolution of sof...

What is the Evolution of software engineering Any application on computer runs by software. As computer technologies have changed tremendouslyinthe last five decades, consequen

What is requirements definition description, What is Requirements Definitio...

What is Requirements Definition Description Output of requirements of engineering process is Requirements Definition Description (RDD). Requirements engineering can be defined

Explain smoke testing, Smoke testing It decreases the integration risk....

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

What are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data dict

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