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

Explain different phases of spiral model, Q. Explain Different Phases of sp...

Q. Explain Different Phases of spiral model? 1) Planning: In this phase the objectives alternatives as well as constraints of the project are determined or documented. The ob

Diffrence between structured analysis and structured design, Q. Differentia...

Q. Differentiate between structured analysis and structured design? Ans. The aim of structured examination is to transform the textual description of a problem into a graphic

Explain in detail about data modelling, Explain in detail about data modell...

Explain in detail about data modelling. Data modeling makes use of the ERD. Having of 3 interrelated information. The data object. Attributes.  Relationsh

Determine the concept of concurrency, Determine the concept of Concurrency ...

Determine the concept of Concurrency The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the pro

Software Quality Assurance - Defect Amplification and Remova, Errors from p...

Errors from previous stage Errors passed through Amplified errors Newly generated errors Errors passed to next stage Testing phase of project-A 35 35 0 5 20 Testing phase of Projec

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 is up time, What is Up time? "Up time" is the time period when a me...

What is Up time? "Up time" is the time period when a method is operational and in service. Up time is the sum of idle time and busy time.

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

Operating systems, Compare and contrast two operating systems

Compare and contrast two operating systems

Explain iterative enhancement model, Q. Explain Iterative Enhancement model...

Q. Explain Iterative Enhancement model? This model incorporates modification in the software based on the analysis of the existing system. As well the complete documentation of

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