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 the static testing and dynamic testing, Static testing and dynamic ...

Static testing and dynamic testing Static testing is checking the application without actually running the application while dynamic testing checks the application by running i

What is masm? explain its features, Question 1 What is MASM? Explain its f...

Question 1 What is MASM? Explain its features Question 2 Explain the significance of Lexical analysis and Syntax analysis Question 3 What are macros and macro processors

What are the phases of problem solving loop, What are the phases of Problem...

What are the phases of Problem solving Loop? Problem definition identifies the problem to be resolved. Technical development helps to resolve the Problem through various Te

State the cocomo model, What is COCOMO model? COCOMO stands for COnstru...

What is COCOMO model? COCOMO stands for COnstructive COst MOdel. It is used for cost Effort=a * KDLOCb Where a and b are two parameters of the model whose specific values

Design test cases for loop testing, Q. Regard as a program that reads a set...

Q. Regard as a program that reads a set of Data for 'n' no. of triangles. The program reads three integer values like representing the sides of triangles. The program prints for ea

Determine the importance of software engineering, Importance of Software En...

Importance of Software Engineering As the application domains of software are becoming complicated and design of big software without a systematic method is virtually impossib

What is intrusive testing, Testing that collects timing and processing info...

Testing that collects timing and processing information during program implementation that might change the behavior of the software from its behavior in a actual environment. Usua

Illustrate about system testing, Q. Illustrate about System Testing? Sy...

Q. Illustrate about System Testing? System Testing: This testing centred on validating the product with respect to software specification Document. Techniques as function testi

What is outputs, What is Outputs? Ans) Products, services, or informatio...

What is Outputs? Ans) Products, services, or information supplied to meet end user requirements.

What is equivalence class testing, Q. What is Equivalence class testing? ...

Q. What is Equivalence class testing? Equivalence class testing is based on the partitioning the input domain of a program into a number of equivalence classes so that the test

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