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 different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

Develop a test case for any under development application, An application w...

An application which is under development. How would you develop a test case for it? When application is under development, Business Requirement Document is used as primary doc

Script file, how to make script file volume of pyramid

how to make script file volume of pyramid

What is software engineering, What is software engineering? Software en...

What is software engineering? Software engineering is a regulation in which theories, methods and tools are applied to make professional software.

What is operational requirements, What is Operational Requirements? Ans)...

What is Operational Requirements? Ans) Qualitative and quantitative parameters that states the desired operational capabilities of a system and serve as a basis for determining

Evolution and growth of technology, Question 1: Describe the term techn...

Question 1: Describe the term technology. Write a short note on evolution and growth of technology. Definition Description on evolution Growth of technology

What is software fault, Software faults are unseen programming errors. Soft...

Software faults are unseen programming errors. Software faults are errors in the correctness of the semantics of computer programs.

Software licence, main characteristics of software lease

main characteristics of software lease

Write about software change strategies, Write about software change strateg...

Write about software change strategies. The software change methods that could be applied separately or together are: Software maintenance - The alters are made in the software

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