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 are the types of software maintenance, What are the types of software ...

What are the types of software maintenance? Corrective maintenance - Means the maintenance for correcting the software faults. Adaptive maintenance - Means maintenance f

Explain structural testing, Testing that takes into account the internal me...

Testing that takes into account the internal mechanism [structure] of a system or component. Types contain branch testing, path testing, statement testing. Testing to insure eve

Expert Systems, Explain model-based expert systems and frame-based expert s...

Explain model-based expert systems and frame-based expert systems

Write note on arm processor, Question 1 Explain the categories of Embedded...

Question 1 Explain the categories of Embedded Systems Question 2 Write a note on Serial Interface in 8051 Question 3 Explain the various types of addressing modes in 805

How will you convince the ceo that crm will make improvement, Marketing and...

Marketing and Sales (M/S) is the focal point of many of Hawkins Cookers Ltd, because they are responsible for selling the company's product (a) Consider you are the Chief Inform

Determine about the bottlenecks of performance testing, What kinds of bottl...

What kinds of bottlenecks can be expected in performance testing? Bottlenecks in performance testing can have below effects: - It can affect the performance and the scalabil

Water-fall model of the system development life cycle, Problem: (a) Bri...

Problem: (a) Briefly describe the "water-fall" model of the system development life cycle. (b) How would intranets be useful in a Public Sector Environment? (c) How can p

Write short notes on decision table, Q. Write short notes on Decision Table...

Q. Write short notes on Decision Table? Decision Table: While the process logic for a process involves multiple conditions as well as is very complicated it isn't advisable t

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