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

Distinguish among verification and validation, Distinguish between verifica...

Distinguish between verification and validation. Verification is the set of activities that ensure that software properly implements a specific function. Validation is a differ

SQA Planning, I want to know that what are the activities, roles,artifacts ...

I want to know that what are the activities, roles,artifacts and goals do a planning phase of SQE encempass? How can we prepare sqa plan for any project?

Explain about special value testing, Q. Explain about Special Value Testing...

Q. Explain about Special Value Testing? Special Value Testing is the form of functional testing. Special value testing take places when a tester uses his or her domain knowle

What is system simulation, What is System Simulation? Normal 0 ...

What is System Simulation? Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Explain dalvik virtual machine, Question 1 Write short notes on (i) Lex...

Question 1 Write short notes on (i) Lexical Analysis (ii) Syntax Analysis (iii) Semantic Analysis 2 Explain various data structures used in Macro Processor Design 3 Descr

What is meant by system requirements, What is meant by System Requirements ...

What is meant by System Requirements Set out the system constraints and services in well explained. Serves as a contract among the system buyer & the system developer.

What is integration testing, What is Integration testing: - This test i...

What is Integration testing: - This test is performed to determine the interfaces among system components, interactions between the application and the hardware, file system, a

Explain practical process quality, Practical process quality Explain pr...

Practical process quality Explain process standards such as how reviews should be conducted, configuration management, etc. Monitor the development process to make sure that

Data dictionary, give the example of data dictionary

give the example of data dictionary

Define traceability, Define Traceability Traceability is the overall...

Define Traceability Traceability is the overall property of requirements specification which reflects the easiness of finding related requirements. Three different parts

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