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

Explain information flow index, Q. Explain Information Flow index? Inf...

Q. Explain Information Flow index? Information Flow index Information flow metrics are practical to the components of a system design. For any component A We are able to defi

How can you create the new system, How can you create the new system  S...

How can you create the new system  System is to be computerised. Following will be created: (i)                 All DVD and CD data will be stored on a database   (ii)

Matlab, #This is part of my prog. in matlab and a graph has to be drawn for...

#This is part of my prog. in matlab and a graph has to be drawn for this equation. >> es0=6.11; T0=273.15; Lv=(2.5)*10^6; Rv=461.5; Td=80:.2:500; e=es0*exp((Lv/Rv).*((1./T0)-(1./T

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

What is dynamic analysis, The process of evaluating a program based on impl...

The process of evaluating a program based on implementation of that program. Dynamic analysis approaches rely on implementing a piece of software with selected test data.

Database mapping, database mapping from class to database

database mapping from class to database

Explain black box testing and its categories, Black Box Testing :-Black Box...

Black Box Testing :-Black Box Testing is also known as behavioural testing, focuses on the functional requirements of the software. It allows the software engineer to derive sets o

Determine the concept of concurrency, Determine the concept of Concurrency ...

Determine the concept of Concurrency The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the pro

What are the benefits of incremental model, What are the Benefits of increm...

What are the Benefits of incremental model This model is acceptable when there is less number of person involved in the project. Technical risks can be handle with every

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