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

Elaborate on the characteristics of a good team player, Question 1: In ...

Question 1: In his book Tales of a New America, Robert Reich describes the importance of teamwork in an increasingly technological age: Rarely do even Big Ideas emerge any l

Information engineering, Information engineering is a system  engineering ...

Information engineering is a system  engineering approach which is used to describe architectures which enable a business to use data professionally. The intent of information eng

Discuss in details about integration testing, Discuss in details about Inte...

Discuss in details about Integration testing. It is a systematic procedure to construct the program structure. Incremental integration - The program is built and tested i

What is closed box testing, Closed box testing is similar as black box test...

Closed box testing is similar as black box testing. Black box testing a type of testing that examine only externally visible behavior.

What is black box and white box testing techniques, Software Project Manage...

Software Project Management 1. What is black box and white box testing techniques? 2. Describe different roles of the software development? 3. List out different project

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

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

What is error guessing, Explain Error guessing? Ans) Test data selection...

Explain Error guessing? Ans) Test data selection method. The selection criterion is to pick values that seem likely to reason errors.

Software testing, Discuss the limitations of software testing. How do we sa...

Discuss the limitations of software testing. How do we say that complete testing is impossible?.

What are the elements of design model, What are the elements of design mode...

What are the elements of design model? i. Data design ii. Architectural design iii. Interface design iv. Component-level design

Structural partitioning, compare and contrast the advantages of verticle an...

compare and contrast the advantages of verticle and horizontal structural partitioning?

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