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 dynamic testing tools, What are dynamic testing tools?  Dynami...

What are dynamic testing tools?  Dynamic testing tools:  1: coverage analyzers (execution verifiers 2: output comparators 3: Test data generators: 4:  Test file gen

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

Define about the integration testing, Define about the Integration testing ...

Define about the Integration testing - This test is performed to verify interfaces between system components, interactions between application and file system, hardware and ot

Different type of testing tools, Different type of testing tools. (a) T...

Different type of testing tools. (a) Test Case Generators: (b) Capture/ Playback and Test harness tools: (c)  Coverage Analysis Tools: (d) Test Comparators e) Memor

Project or process, Mentoring a class at a university. is project or proce...

Mentoring a class at a university. is project or process??

Drive an expression for peak manning of a project, Q. Drive an expression f...

Q. Drive an expression for peak manning of a project using Nordes - Rayleigh equation . Ans Norden Rayleigh curve utilized to approximate software project . M(t) =Man powe

Explain software testing strategies, A strategy for software testing integr...

A strategy for software testing integrates software test case design methods into a well - planned series of steps that result in the successful construction of software. Common

Activity and use case diagram, The Application You should develop your p...

The Application You should develop your program using incremental development. Develop your program a little bit at a time and keep testing it. Save a working version before mak

Explain in brief the concept of functional independence, Explain in brief t...

Explain in brief the concept of Functional independence ?

Explain capability maturity model, CAPABILITY MATURITY MODEL (CMM): CMM is...

CAPABILITY MATURITY MODEL (CMM): CMM is a strategy for recovering the software process, irrespective of the actual life cycle model used.

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