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 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.

Define software measurement, Define software measurement. A software me...

Define software measurement. A software measurement is a method or method that applies software calculates to a class of software engineering objects to attain a predefined goa

What are the different types of cohesion, What are the different types of C...

What are the different types of Cohesion? i. Coincidentally cohesive -The modules in which the set of tasks are related with each other loosely then such modules are called as

Explain in detail the design concepts, Explain in detail the design concept...

Explain in detail the design concepts Abstraction Data abstraction Functional abstraction  •Control abstraction Information hiding •Every module in the s

What is test objective, An identified set of software features to be calcul...

An identified set of software features to be calculated under specified conditions by comparing actual behavior with the needed behavior described in the software documentation.

Process assessment, how can we improve requirements Engineering process ass...

how can we improve requirements Engineering process assessment model

Differentiate between smoke testing and sanity testing, Differentiate betwe...

Differentiate between smoke testing and sanity testing. -Smoke testing verifies all areas of application; sanity testing recognizes one or few areas only. -Smoke testing is

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

Explain the process of software testing, Explain the process of Software Te...

Explain the process of Software Testing Testing is the process of running the software on manually created inputs with intention to find errors. In process of testing, an atte

What is closed box testing, Closed box testing is similar as black box test...

Closed box testing is similar as black box testing. Black box testing a type of testing that examine only externally visible behavior.

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