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 problems arise if two modules have high coupling, Q. What problems ari...

Q. What problems arise if two modules have high coupling? Ans: Coupling signifies the interconnection of different modules with each other or we can say it tells about the in

Micro cds-isis application, Micro CDS/ISIS Application: In libraries t...

Micro CDS/ISIS Application: In libraries there are a number of repetitive operations. If one Miens the procedures for ordering, receiving, processing and circulating a book, o

What is software bug, Explain Software Bug? Ans) A fault in a program wh...

Explain Software Bug? Ans) A fault in a program which origins the program to perform in an unintended or unanticipated manner.

Cs304, Following is the description of all data member and member functions...

Following is the description of all data member and member functions of respective classes: ? Data members for PropertyCategories: o SocietyName: This data member will be used

Explain difference between test plan and master test plan, What is the diff...

What is the difference between Test Plan and Master Test Plan. Master Test Plan - i.) It is mandatory in all projects. ii.) It provides strategy to be used to test the

What is data validity, Data validity is the reasonableness and correctness ...

Data validity is the reasonableness and correctness of data.

Define the drivers and stubs, Write about drivers and stubs. Drivers an...

Write about drivers and stubs. Drivers and stub software has to be developed to test incompatible software. The " driver" is a program that accepts the test data and prints

What is masm? explain its features, Question 1 What is MASM? Explain its f...

Question 1 What is MASM? Explain its features Question 2 Explain the significance of Lexical analysis and Syntax analysis Question 3 What are macros and macro processors

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