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

Define software testing, Define software testing. Software testing is a...

Define software testing. Software testing is a process used to help recognize the correctness, completeness and superiority of developed computer software. With that in mind, t

How is cyclomatic complexity useful in program test, How is cyclomatic comp...

How is cyclomatic complexity useful in program test? Cyclomatic complexity calculates the amount of decision logic in a single software module. It is used for two related purpo

Write the importance of standards, Write the Importance of standards. E...

Write the Importance of standards. Encapsulation of best practice- avoids repetition of past mistakes. They are a framework for quality assurance processes - they include ch

Advantages of re-engineering, Advantages of Re-Engineering:- 1)  Reduce...

Advantages of Re-Engineering:- 1)  Reduced risk - there is a huge risk in new software development. There might be development problems, staffing problems and specification pro

Write short notes on estimation models, Write short notes on estimation mod...

Write short notes on estimation models. Empirical estimation models can be used to complement decomposition methods and propose a potentially valuable approach in their own rig

What is manual testing, Manual testing is the part of software testing that...

Manual testing is the part of software testing that needs operator input, analysis, or evaluation. or A manual testing is a testing for which there is no automation. Instead,

What is software architecture, What is software architecture The softwa...

What is software architecture The software architecture of a program or computing system is the structure or structures of the system, which comprises software components, the

What is pure and impure interpreter, what is interpreter explain pure and i...

what is interpreter explain pure and impure interpretion

Explain critical design review, Explain critical design review The purp...

Explain critical design review The purpose of critical design review is to make sure that the detailed design satisfies the specifications laid down during system design. The

Evaluate the bulleted list of information-related items, It goes by many te...

It goes by many terms - information overload, analysis paralysis, data dumping, and so on. You know what we're talking about. It is indeed greater to live in the information age 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