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

Determine the test cases using boundary value analysis, Q. Consider a progr...

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 val

What are the principle stages of vord method, What are the principle stages...

What are the principle stages of VORD method? Viewpoint identification: Identify the services given to each viewpoint. Viewpoint structuring: Grouping linked viewpoints in t

Software Metircs, I have a comprehensive question in this course need to so...

I have a comprehensive question in this course need to solve

Define external coupling, Q. Define External coupling? External coupli...

Q. Define External coupling? External coupling: A form of coupling in that a module has a dependency to other module external to the software being developed or to a particul

Difference between module coupling and module collection, Q. What is the di...

Q. What is the difference between module coupling and module collection? List different types of coupling and cohesion. Ans : Cohesion is the property of a single module as we

What are the general activities in design process, What are the general act...

What are the general activities in design process? i. System structuring - The system is separated into principle subsystems components and communications among these subsystem

Produce a use case diagram, ZeroJet, a new low cost airline, wants a brand ...

ZeroJet, a new low cost airline, wants a brand new web-based system to allow people to book seats for flights on-line.  They want an automated check in system which has no staff.

Software development model, how do risc factor affect a spiral model of sof...

how do risc factor affect a spiral model of software development

Explain about rapid prototyping techniques, Explain about rapid prototyping...

Explain about rapid prototyping techniques.  Used to animate the system specification. It is expressed in a formal, mathematical language to provide a system prototype

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