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 software life cycle, Software life cycle starts when a software pro...

Software life cycle starts when a software product is first conceived and ends when it is no longer in use. It contains aspects such as initial concept, requirements analysis, inte

What are the fundamental activities of a software process, What are the fun...

What are the fundamental activities of a software process?   Specification  Design and implementation Validation Evolution

No , Hard drive has space, but it keeps telling me that its full and asks m...

Hard drive has space, but it keeps telling me that its full and asks me to delete files. I checked. There is nearly full C drives (8GB) but when i am open c drive and check than ne

What is function points, Q. What is Function points? Function points :...

Q. What is Function points? Function points : Function point calculates the functionality from the user opinion that is on the basis of what the user request and receives in r

State the software measure, What is software measure? A software measu...

What is software measure? A software measure is a mapping from a set of objects in the software engineering world information a set of mathematical construct like numbers or v

In how many types requirements have been classified, In how many types requ...

In how many types requirements have been classified Requirements are classified in the below two types: i)  Functional requirements: They define the factors such as I/O fo

Determine the problems of software maintenance, Determine the problems of s...

Determine the problems of software maintenance Software maintenance has the below problems: i)  It is very cumbersome to analyse and understand code written by somebody.

What is process and procedures, Processes and procedures make sure the corr...

Processes and procedures make sure the correct steps are being implemented to facilitate a successful finished off a task. They also make sure a process is repeatable.

Nonfunctional requirements of clue-less system, Nonfunctional Requirements ...

Nonfunctional Requirements Performance Requirements PE-1: The Clue-Less system shall accommodate 6 users during peak usage, with an estimated average session duration of 15 m

Database schema, Question This question refers to the database Schema....

Question This question refers to the database Schema. Express the following queries in SQL: (a) List the First Name, Last Name and telephone number of all employees who wer

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