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 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 di

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

Define data dictionary, Define Data Dictionary. The data dictionary is ...

Define Data Dictionary. The data dictionary is defined as an organized collection of all the data elements of the system with accurate and rigorous definitions so that user and

Draw the context level dfd for the safe home software, Draw the Context lev...

Draw the Context level DFD for the Safe home Software. User commands Alarm type Telephone Number tone Sensor status Display Information

Explain the capability maturity model, Explain the CAPABILITY MATURITY MODE...

Explain the CAPABILITY MATURITY MODELS Process models are based on various software development phases while capability models have an entirely different foundation of developm

Explain static analysis, Explain Static analysis? Ans) (1) Analysis of a...

Explain Static analysis? Ans) (1) Analysis of a program that is performed without implementing the program. (2)The process of assessing a system or component based on its for

What is architectural transformation, What is architectural transformation?...

What is architectural transformation? This is a more radical approach to software change then maintenance as it involves making significant changes to the architecture of the s

Programming, Write a C program that reads in three integers and then determ...

Write a C program that reads in three integers and then determines and print the largest and smallest integer among them.

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