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 inheritance, Q. What is Inheritance? Inheritance:- Inheritance...

Q. What is Inheritance? Inheritance:- Inheritance is defined as the property of objects by which instances of a class can have access to data and programs contained in a previ

Mention the factors to be considered during system modelling, Mention some ...

Mention some of the factors to be considered during System Modeling. Simplifications Assumptions Constraints

Final Year Project Help, I am currently working on a project and am far fro...

I am currently working on a project and am far from passing, I need help ASAP! The project task is to create a Decision support system for An Airline. It must predict and make de

What is closed box testing, Closed box testing is similar as black box test...

Closed box testing is similar as black box testing. Black box testing a type of testing that examine only externally visible behavior.

Define coupling and discuss various types of coupling, Define coupling and ...

Define coupling and Discuss various types of coupling? Define coupling. Discuss various types of coupling. Ans: A Coupling is the measure of the degree of interdepende

Important issues related to srs, Q. Important issues related to SRS? (a...

Q. Important issues related to SRS? (a) System goals as well as requirements are different- Goal is a more general characteristics. For example Whole system must be designed in

Justify the term software is engineered, Justify the term "Software is engi...

Justify the term "Software is engineered" Software is engineered not manufactured. Although some similarities exit among software development and hardware manufacture, the two

What is dynamic analysis, The process of evaluating a program based on impl...

The process of evaluating a program based on implementation of that program. Dynamic analysis approaches rely on implementing a piece of software with selected test data.

Explain real time system, What is a Real time system? Real time system ...

What is a Real time system? Real time system is a software system in which the correct functionalities of the system are dependent upon results formed by the system and the tim

Explain the instruction pipelines, Explain the Instruction pipelines In...

Explain the Instruction pipelines Instruction pipelines: - An instructin pipeline reads consecutive instructions from memory whereas previous instructions are being implemented

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