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 role of software engineer in software development, Q Who is a Softw...

Q Who is a Software Engineer? What is his role in software development process? Ans) A software engineer is responsible for the implementation and design of a variety of softwa

Explain about rapid prototyping techniques, Explain about rapid prototyping...

Explain about rapid prototyping techniques.  Used to animate the system specification. It is expressed in a formal, mathematical language to provide a system prototype

Network Technology, How can you create a file named -i? Which techniques do...

How can you create a file named -i? Which techniques do not work, and why do they not work? How can you remove the file named -i?

What does it mean by business process engineering tools, What does it mean ...

What does it mean by business process engineering tools ?

What is iso 9000 certification, What is ISO 9000 certification? Qualit...

What is ISO 9000 certification? Quality standards and procedures should be recognized in an organisational quality manual An external body may confirm that an organisation'

Classes of data items in a data dictionary, Q. Classes of data items in a d...

Q. Classes of data items in a data dictionary? There are three classes of data items in a data dictionary 1) Data element- It is the smallest unit of data that cannot be me

Use cases, 1. Perform a requirements analysis for the Case Study. Express t...

1. Perform a requirements analysis for the Case Study. Express the results using the following artefacts:     a. A use case diagram for the functional requirements of the entire

Explain sanity testing, Sanity testing is performed whenever cursory testin...

Sanity testing is performed whenever cursory testing is sufficient to show the application is functioning according to specifications. This level of testing is a subset of regressi

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