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 system testing, Describe system testing.   System testing: ...

Describe system testing.   System testing: System test are designed to authenticate a fully developed systems with a view to assuring that it meets its requirements. There

Draw an entity relationship diagram for the case study, Question: (a) ...

Question: (a) Document the information input and output for the events mentioned in the case study on the basis of facts provided. (b) Comment on the fact that barely any

What is code complete, Code Complete - Phase of development where func...

Code Complete - Phase of development where functionality is executed in entirety with only bug fixes remaining. - All functions from the functional specifications are alrea

What are the umbrella activities of a software process, What are the umbrel...

What are the umbrella activities of a software process? Software project tracking and control. Risk management. Formal Technical Reviews. Software Quality Assurance.

What are the advantages and disadvantages of big-bang, What are the advanta...

What are the advantages and disadvantages of big-bang? Advantages: This approach is easy. Disadvantages: It is difficult to debug.It is not easy to isolate errors whereas te

What quality would you look for when hiring a test engineer, What qualities...

What qualities would you look for when hiring a test engineer? - Test to break attitude - Desire for quality and attention to details. - Tact and diplomacy when dealing w

Draw a use case diagram, QUESTION (a) Draw a use case diagram (UCD) for...

QUESTION (a) Draw a use case diagram (UCD) for the given case study. For any one use case give a detail use case specification (b) Describe the different phases and workflow

Design test cases for loop testing, Q. Regard as a program that reads a set...

Q. Regard as a program that reads a set of Data for 'n' no. of triangles. The program reads three integer values like representing the sides of triangles. The program prints for ea

Defect amplification model with no review, How can we know about to divide ...

How can we know about to divide numbers from total error from which half passed through error and half passed to amplified and how to generate defect efficiency?

What is procedure, What is Procedure? Ans) The step-by-step method follo...

What is Procedure? Ans) The step-by-step method followed to make sure that standards are met.

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