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

Describe continual integration, Question 1 What is SSAD? Explain in detail...

Question 1 What is SSAD? Explain in detail Question 2 Explain any three limitations of the agile process Question 3 Describe continual integration Question

What is peer reviews, What is Peer Reviews? Ans) A methodical examinatio...

What is Peer Reviews? Ans) A methodical examination of software work products by the producer's peers to recognize defects and areas where changes are required.

Explain different type of testing tools, Q. Explain different type of testi...

Q. Explain different type of testing tools? (a) Test Case Generators: These tools produce test cases from SRS program or test design languages. They utilize certain rules cal

Explain the sauers model, Question 1: a) Describe the various activitie...

Question 1: a) Describe the various activities and or processes related to the development of Information systems. b) Using a diagram, show the several development processes

The spiral model of software development, The spiral model of software deve...

The spiral model of software development Contains project risks evaluation during every iteration

Write the process classification, Write the Process classification. In...

Write the Process classification. Informal No detailed process model. Development team chose their own way of working. Managed Explained process model wh

Difference between verification and validation, Difference between Verifica...

Difference between Verification and Validation Verification is Static whereas Validation is Dynamic. This means in Verification the s/w is inspected by looking into the code go

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