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 advantages of using testing tools, What are the advantages of ...

What are the advantages of using testing tools? The advantages of testing tools are: They get better the productivity and quality of software development. Help in i

Illustrate key process areas of cmm, Q. Illustrate key process areas of CMM...

Q. Illustrate key process areas of CMM? The key process areas of CMM are 1. Requirements management that establishes a common relationship between the customer and developer

What are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data dict

Question, why are older data models are being replaced by new data models

why are older data models are being replaced by new data models

Explain the idea behind albrecht''s function points measure, Question: ...

Question: (a) Consider that every software failure can be classified as either • Syntactic, • Semantic, • System crash. Suppose additionally that every system crash fa

Srs, Why is SRS document known as black box specification of a system

Why is SRS document known as black box specification of a system

Define cohesion & coupling, Define cohesion & coupling? Give suitable examp...

Define cohesion & coupling? Give suitable examples.  Coupling : Coupling refers to the strength of the relationship among modules in a system. Coupling shows how strongly dif

What are the benefits of prototyping, What are the benefits of prototyping?...

What are the benefits of prototyping? i. Prototype uses as a basis for deriving system specification. ii. Design quality can be better. iii. System can be handled efficie

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

Distinguish between alpha testing and beta testing, Distinguish between alp...

Distinguish between alpha testing and beta testing. Alpha test and Beta test The alpha test is prepared at the developer site. The software is used in a natural setting wi

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