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

Why we need restructuring techniques, Q. Why we need restructuring techniqu...

Q. Why we need restructuring techniques? The restructuring helps in maintaining a program in the following ways: (a) Programs have higher excellence better documentation l

Various attributes of cost drivers used in cocomo model, Various attributes...

Various attributes of cost drivers used in COCOMO model are: 1.  Physical attributes: These are concerned with needed characteristics of the software product being developed.

Explain predictive validity, Q. Explain Predictive validity? Predictiv...

Q. Explain Predictive validity? Predictive validity: It is the potential of the model to predict future failure behaviour from present and past failure behaviour. This capabi

Explain evolutionary prototyping, Evolutionary prototyping Objective: ...

Evolutionary prototyping Objective: The principal objective of this model is to deliver the working system to the end-user. Example-AI systems. Advantages

Explain basis path testing, Explain Basis Path Testing? Ans) Basis path ...

Explain Basis Path Testing? Ans) Basis path testing is a white-box method. It permits the design and definition of a basis set of execution paths. The test cases created from th

ALTIUM DESIGN 09 + PROGRAMMING, I NEED HELP WITH DESIGN A CIRCUIT ON ALTIUM...

I NEED HELP WITH DESIGN A CIRCUIT ON ALTIUM 09 AND PROGRAMMING WITH DESCRIPTION FOR ALL THE STEPS

Explain rad model, RAD Model Rapid Application Development Model is...

RAD Model Rapid Application Development Model is the part of incremental model. Achieves the high speed development using component based construction. Phases

Assignment 2, I have to do an assignment. Can you help me to do it

I have to do an assignment. Can you help me to do it

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