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 testing strategies for conventional software, What are the var...

What are the various testing strategies for conventional software? i. Unit testing ii. Integration testing. iii. Validation testing. iv. System testing.

SQA, Explain an error checklist for inspection in detail.

Explain an error checklist for inspection in detail.

Enterprise resource planning system, 1. Please compare and contrast economi...

1. Please compare and contrast economic, market, and relevancy value. 2. Discuss uncertainty as it relates to the overall logistical performance cycle. How can performance cycle

Advantages of incremental model, Advantages of incremental Model:- ...

Advantages of incremental Model:- As product is to be delivered in parts, total cost of the project is dispersed. Limited number of persons can be put on to the projec

Describe in brief about the elementary process, Elucidate elementary proces...

Elucidate elementary process. Software applications are a combination of various elementary processes. Various elementary processes come together to form an application. Ele

State the coding standards, State the Coding standards Coding standar...

State the Coding standards Coding standards normally give the guidelines about following: i)  Name of the module ii)  External and Internal documentation of source code

Explain about the incremental model, Explain about the incremental model. ...

Explain about the incremental model. Have same phases as the waterfall model. Phases are Analysis. Design. Code. Test. Incremental model deliver

List the guidelines for data design, List the guidelines for data design. ...

List the guidelines for data design. i. Apply systematic analysis on data. ii. Identify data structures and related operations. iii. Establish data dictionary. iv. Use

What are quality management activities, What are Quality management activit...

What are Quality management activities. Quality assurance Establish organisational process and standards for quality. Quality planning Select applicab

COCOMO model, What is the correct order in which a software project manager...

What is the correct order in which a software project manager estimates various project parameters while using COCOMO?

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