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 the empirical estimation models, Write short notes on empirical est...

Write short notes on empirical estimation models. Estimation model for computer software uses empirically derived formulas to expect effort as a function of line of codes (LOC)

Evaluate mccabes cyclomatic complexity, Q. For the flow graph showed in fig...

Q. For the flow graph showed in figure compute McCabe's Cyclomatic Complexity. Ans: In this flow graph Number of regions are 5 hence the Cyclomatic complexity is = 5

Offshore oil industry, as software project manager in company specialized o...

as software project manager in company specialized on offshore oil industry have been tasked to discover factors affecting mantainability of the system developed by the company.wh

Differentiate between print preview and layout prev, What is the difference...

What is the difference between Print Preview and Layout Preview? Print Preview and Layout Preview When a report is observed in Print preview, it appears almost exactly as it

What is version and release management, What is Version and release managem...

What is Version and release management? Invent an identification system for system versions. Plan when a new system version is to be formed. Ensure that version managemen

Name the techniques used in behavioural model, Name the techniques used in ...

Name the techniques used in behavioural model In conventional approach of modeling, analyst collects great deal of comparatively unstructured data through data gathering tools

What is fault-based testing, 1. Testing that employs a test data selection ...

1. Testing that employs a test data selection method designed to obtain test data capable of demonstrating the absence of a set of pre-specified faults, typically, frequently happe

Explain the basic cocomo model, Question: (a) (i) Define the following...

Question: (a) (i) Define the following terms briefly: COCOMO, DSI, FSP, MM, ACT, TDEV, (MM)AM. (ii) State the assumptions underlying the Basic COCOMO model. (b) Suppos

Explain different type of testing tools, Q. Explain different type of testi...

Q. Explain different type of testing tools? (a) Test Case Generators: These tools produce test cases from SRS program or test design languages. They utilize certain rules cal

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