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

Discuss the problems faced during software maintenance, Q. Discuss the prob...

Q. Discuss the problems faced during software maintenance? The most significant problem during maintenance is that before correcting or else modifying a program the programmer

Advantage of software life cycle model, Q. Advantage of software life cycle...

Q. Advantage of software life cycle model? The advantage of this model is the wide range of options to accommodate the good features of outer life cycle models. It becomes equi

Design test cases for loop testing, Q. Regard as a program that reads a set...

Q. Regard as a program that reads a set of Data for 'n' no. of triangles. The program reads three integer values like representing the sides of triangles. The program prints for ea

Explain smoke testing, Smoke testing It decreases the integration risk....

Smoke testing It decreases the integration risk. Error diagnosis and correction are simplified

Describe software maintenance and it types, Software Engineering 1. Giv...

Software Engineering 1. Give the two roles of the software process. 2. Describe software maintenance and it types. 3. What is RAD model and its phases? 4. What do you

What are the drawbacks of rad model, Question 1 . What are the drawbacks of...

Question 1 . What are the drawbacks of RAD Model Question 2 . Explain why reliability is more important than efficiency? Question 3 . What are the activities of funct

What things will you remember when making an interface, What things will yo...

What things will you remember when making an interface? - A class's interface must be sensible enough. It should act the way user expects it to. - It must be designed from t

Functional requirement for an library management system, Write down the fun...

Write down the functional requirement for an Library management system. The user should able to search either all of the initial set of databases or select a subset of datab

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

how do risc factor affect a spiral model of software development

Design black box test suits for a function, Q. Design black box test suits ...

Q. Design black box test suits for a function that checks whether a character or string upto ten characters in a palindrome? Ans Following may be the test cases: - Try wit

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