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

Differentiate between failures and faults, Differentiate between failures a...

Differentiate between failures and faults.   Failure:- Failure is the departure of external results of program operation from requirements. So failure is dynamic. Failure can

Flow chart, desidn a complete flow chart diagram ,which ask the user to inp...

desidn a complete flow chart diagram ,which ask the user to input the rate of diesel and quantity of diesel consumed.after calculate the total amount of diesel consumed and display

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

Goals of quality control, Describe how the goals of quality control (QC) fl...

Describe how the goals of quality control (QC) flexible manufacturing systems (FMS), design for assembly (DFA)and low overall costs can be best combined by computer integrated manu

Important issues that a srs must address, The important issues that a SRS m...

The important issues that a SRS must address are:  (a) System goals and requirements are different (b) Request Definition (c) Request Specification (d) Software Specif

What is failure-directed testing, What is Failure-directed Testing Ans) ...

What is Failure-directed Testing Ans) Testing based on the information of the types of errors made in the earlier period that are likely for the system under test.

Explain in detail about integration testing, Explain in detail about Integr...

Explain in detail about Integration testing. It is a systematic method for constructing the program structure. Incremental integration - The program is constructed and

Layered software architecture, iii. Layered software architectures can be ...

iii. Layered software architectures can be used to reduce coupling between the functions of a system that are closer to the machine and those that are closer to user needs. Why is

What are the main objectives of reverse engineering, Q. Define Reverse Engi...

Q. Define Reverse Engineering? What are the main objectives of reverse engineering? Ans: The reverse engineering is the procedure of generating representations that are imple

What is bottom-up testing, Bottom-up testing is a method of integration tes...

Bottom-up testing is a method of integration testing. A test engineer makes and uses test drivers for components that have not yet been developed, because, with bottom-up testing,

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