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 is a database administrator, Test Build Managers, System Administrator...

Test Build Managers, System Administrators and Database Administrators deliver new software versions to the test environment, install the application's software and apply software

Explain agent-oriented programming languages, Question: (a) Name two a...

Question: (a) Name two agent-oriented programming languages. (b) Distinguish between communication protocols and interaction protocols for agent systems. Give two example

Basic cocomo model and the detailed cocomo model, Q. Compare the basic COCO...

Q. Compare the basic COCOMO model with the detailed COCOMO model. Ans. COCOMO contains of a hierarchy of three increasingly detailed and accurate forms. Basic COCOMO i

System analysis & design, Describe attributes, properties, and characterist...

Describe attributes, properties, and characteristics of system.

Explain path testing, Testing to satisfy coverage criteria that every logic...

Testing to satisfy coverage criteria that every logical path by the program be tested. Often paths by the program are grouped into a finite set of classes. Single path from every c

What is function point, Q. What is function point? Ans. Function po...

Q. What is function point? Ans. Function point methods the functionality from the user point of view that is on the basis of what the user request and receives in return. C

Define archives as records and explain their importance, QUESTION 1 (a)...

QUESTION 1 (a) Define "archives" as records and explain their importance. (b) Elaborate on the steps archivists have to undertake for the storage of archival records. QU

List out the activities of linear sequential model, List out the activities...

List out the activities of Linear Sequential Model. Software requirement analysis determines the nature of the problem, function, information domain etc. Design - Translates

The sequence of testing, The sequence of testing is: a) Unit testing: ...

The sequence of testing is: a) Unit testing: b) Integration testing: Alpha Testing- Beta testing Acceptance Testing

Define the term - inspection, Define the term - Inspection - An inspec...

Define the term - Inspection - An inspection is more formal than walk through. - It includes 3-8 people - a moderator, reader as well as a recorder to take notes. - Subj

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