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

Explain software metric, Software metric Any type of measurement which ...

Software metric Any type of measurement which relates to a software system, process or related documentation Lines of code in a program, the Fog index, number of person-days

What is the use of a data flow diagram, What is the use of a data flow diag...

What is the use of a data flow diagram? A data flow diagram is used to represent the functional view of an application domain. It represents all the significant business proces

Modular software development, After studying the module you should understa...

After studying the module you should understand the principles and techniques associated with modular software development. After studying the module you should understand the c

What is meant by information flow continuity, What is meant by Information ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity must be maintained .ie, input & output to every r

Relationship between agent technology and grid computing, Question: (a)...

Question: (a) Show three application areas for agents. (b) What do you meant by "temporally coupled coordination"? Provide an example of a temporally coupled coordination

What is program control instruction, What is Program Control Instruction ...

What is Program Control Instruction A program control type of instruction, when implemented, may change the address value in the program counter and cause the flow of control t

Briefly explain the requirement capture methods, Problem: (a) Briefly e...

Problem: (a) Briefly explain the requirement capture methods. (c) Using examples, write short notes on the following: i) Aggregation ii) Composition iii) Generalisation

What is branch coverage testing, A test method satisfying coverage criteria...

A test method satisfying coverage criteria that needs each decision point at every possible branch to be implemented at least once.

What are command buttons, What are command buttons? How to use command butt...

What are command buttons? How to use command buttons? Command buttons are defines to as controls. The control is capable of implementing a set of instruction when the user clic

Explain the process of prototyping, Explain the process of Prototyping ...

Explain the process of Prototyping Prototyping is a process which enables developer to create a small model of software. IEEE 610.12 standard defines prototype as a preliminary

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