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

Software quality and testing issues, Software quality and testing issues: ...

Software quality and testing issues: The aim of this assignment is to enable students to conduct an in-depth research on software quality and testing issues. Software Quality

SDLC model, What is the advantage of using prototype software development m...

What is the advantage of using prototype software development model instead of waterfall model?

two fetch-execute cycles, Consider an 8-bit system with 32 memory location...

Consider an 8-bit system with 32 memory locations (numbered from 0 to 31) and 8 different instructions. Assume op code for "Load Accumulator" instruction is 5 10  and for "Add" ins

What does validation represent, What does Validation represent? Validat...

What does Validation represent? Validation show the set of activities that make sure that the software that has been built is satisfying the customer requirements.

Explain quick-fix model, Explain Quick-fix Model Quick-fix Model : Thi...

Explain Quick-fix Model Quick-fix Model : This is the easiest model used for the maintenance of the software. In this model changes at the code level are made as early as poss

What are the various testing activities, What are the various testing activ...

What are the various testing activities? i. Test planning ii. Test execution iii. Test case design iv. Data collection v. Effective evaluation

What is oo function testing, Function testing of OO software is no dissimil...

Function testing of OO software is no dissimilar than validation testing of procedural software. Client involvement is generally part of this testing stage. In OO environment use c

Object oriented concepts used in software engineering, Explain various Obje...

Explain various Object Oriented concepts used in Software Engineering. The concepts of Object Oriented concepts used in Softwar Engineering: Object Class:- Enc

Operation of the clue-less system, A player with an active turn must make a...

A player with an active turn must make a valid move with their character or pass their turn. As a first move in the game, the player can move to the hallway that is adjacent to the

Describe briefly on the seven stages in a product life cycle, Problem 1: ...

Problem 1: Describe briefly on the seven stages in a product life cycle. Problem 2: What do you meant by SSAD? Explain in detail. Problem 3: What is a predictiv

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