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

Star topology, where star topology used in daily life

where star topology used in daily life

Draw an entity relationship diagram for the case study, Question: (a) ...

Question: (a) Document the information input and output for the events mentioned in the case study on the basis of facts provided. (b) Comment on the fact that barely any

What is test incident report, A document reporting on any event that happen...

A document reporting on any event that happens during testing that needs further investigation.

Define system modeling, Define System Modeling? Explain the processe...

Define System Modeling? Explain the processes that serve requirements of the view under consideration. Shows the behaviour of the processes and the assumptions on which t

Incrementa lprocess model, name some software in which incremental process ...

name some software in which incremental process are used or possible to use it?

How is cyclomatic complexity useful in program test, Q. How is cyclomatic c...

Q. How is cyclomatic complexity useful in program test and What is sequence of testing and  What is testability? Ans. Cyclomatic complexity measures the amount of decision lo

Use of software package, USE OF SOFTWARE PACKAGE: The concept of appli...

USE OF SOFTWARE PACKAGE: The concept of applications software and were told about software packages and their types. In other words, the discussion implies that instead of wri

What is entity, What is Entity  It is most elementary thing of an organ...

What is Entity  It is most elementary thing of an organisation about which data has to be maintained. Each entity has unique identity. It's represented by rectangular box with

Advantages and disadvantages of size measure, What are the advantages and d...

What are the advantages and disadvantages of size measure? Advantages: Artifact of software development which is simply counted. Many existing methods use LOC as a key input. A

Explain how to define severity rating in your project, Explain how to defin...

Explain how to define Severity Rating in your project. Severity rating is a combination of three factors: - The frequency of the problem occurrence. It could be common / ra

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