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 is embedded system partitioning, Question : (a) What is embedded s...

Question : (a) What is embedded system partitioning? What is decided during partitioning? (b) What is the difference between structural and functional partitioning? Which on

Define the meaning of code inspection, Define the meaning of Code Inspectio...

Define the meaning of Code Inspection - A formal testing technique where programmer reviews source code with a group who ask questions analyzing program logic, analyzing code

Compute act and the total cost of the system, a) Define Annual Change Traff...

a) Define Annual Change Traffic (ACT) and Annual Maintenance Effort (AME) of Boehm model. b) For a software system of 90 KLOC, 5KLOC of code was added. The initial development

Software testing, Hello, I have an assignment and have to derive a regular ...

Hello, I have an assignment and have to derive a regular expression based on a CFG provided but i dont know how. please help.

What is stress testing and performance testing, What is stress testing and ...

What is stress testing and performance testing? A stress testing executes a system in a way that demands resources in abnormal quantity, volume or frequency. Performance te

Data Mining Question, This assignment uses the data set rent.txt, the Housi...

This assignment uses the data set rent.txt, the Housing Rent Prices in Munich file available at ">http://www.interactivegraphics.org/Datasets.html. 1.Produce a scatterplot of Re

Explain the various phases of SDLC, Explain the Various phases of SDLC ...

Explain the Various phases of SDLC Various phases of SDLC are defined as below: Requirements Analysis Design Coding Software Testing Maintenance.

What are the advantages of evolutionary prototyping, What are the advantage...

What are the advantages of evolutionary prototyping? i. Fast delivery of the working system. ii. User is included while developing the system. iii. More useful system can

Define evolutionary prototyping, Q. Define Evolutionary prototyping? Ev...

Q. Define Evolutionary prototyping? Evolutionary Prototyping is also known as breadboard prototyping is quite different from Throwaway Prototyping. The major goal when using Ev

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