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

State the term- code coverage, State the term- Code Coverage This is a...

State the term- Code Coverage This is an analysis method that determines which parts of software have already been covered by test case suite and which are remaining.

What are the different rapid prototyping techniques, What are the different...

What are the different Rapid prototyping techniques? i. Dynamic high level language development. ii. Database programming. iii. Component and application assembly.

Software Metircs, I have a comprehensive question for Software Metrics ...i...

I have a comprehensive question for Software Metrics ...it is 16 question

What is a software package, QUESTION a) What is a software package? ...

QUESTION a) What is a software package? b) A lot of data is collected and stored on digital medium today. Organisations rely a lot on the data for their smooth running. Desc

Recreating Sections of Google+ in C, Create a compound data type called Pos...

Create a compound data type called Post to store messages posted on Google+. Post should include: Name / Data Type / Description date / char [9] / date fields for

Give detail discussion about black box testing, Give detail discussion abou...

Give detail discussion about Black box testing. Black box or behavioural testing emphasis on the functional needs of the software. It is used during the last stage of tes

Illustrate the features of function count, Q. Illustrate the Features of fu...

Q. Illustrate the Features of function count? Features:- Function point goes forward is independent of the language tools or methodologies used for implementation.

Software development system, Question: (a) Shneiderman's eight golden ...

Question: (a) Shneiderman's eight golden rules for dialogue design are (1) strive for consistency, (2) enable frequent users to use shortcuts, (3) give informative feedback,

What is partition testing, This method categorizes the inputs and outputs o...

This method categorizes the inputs and outputs of a class in order to test them separately. This decreases the number of test cases that have to be designed. To verify the diffe

Define the load address for the first word of the program, Define the Load ...

Define the Load address for the first word of the program is known as Load address origin is called as a Load address for the first word of the program

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