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

Write short notes on quick-fix model, Q. Write short notes on Quick-fix Mod...

Q. Write short notes on Quick-fix Model? Quick-fix Model: This is the simplest model utilized for the maintenance of the software. In this model modification at the code level

Describe software development life cycle activities, Question: (a) Des...

Question: (a) Describe with a pictorial representation ISO 12207 software development life cycle activities. (b) A public library is considering the implementation of

Compute the mccobes cyclomatic complexity, Q. Compute the McCobes cyclomati...

Q. Compute the McCobes cyclomatic complexity? (i) compute the McCobe's cyclomatic complexity (ii) Find out independent path Ans (i) Cyclomate complexity V (

Determine the types of static testing tools, What are the types of static t...

What are the types of static testing tools? There are three types of static testing tools. Code based testing tools - These tools utilize source code as input and generate t

Explain function points, Function points: Function point calculates the fu...

Function points: Function point calculates the functionality from the user point of view, that is, on the basis of what the user request and receives in return. Thus, it deals wit

What are the advantages of evolutionary prototyping, What are the advantage...

What are the advantages of evolutionary prototyping? i. Fast delivery of the working system. ii. User is included while developing the system. iii. More useful system can

List the pre-requisites for white-box testing, List the pre-requisites for ...

List the pre-requisites for white-box testing Pre-requisites for white-box testing are similar to black-box testing with one key difference: - During white-box testing, test

What are the phases of problem solving loop, What are the phases of Problem...

What are the phases of Problem solving Loop? Problem definition identifies the problem to be resolved. Technical development helps to resolve the Problem through various Te

Draw the context diagram, Q. A supermarket requires to develop software to ...

Q. A supermarket requires to develop software to encourage regular customers. For this the customer requires to supply his name address telephone number and driving license number.

Explain in detail about the real time systems, Explain in detail about the ...

Explain in detail about the real time systems. Hard and soft real time systems. Real time and high performance. Real-Time control. Real time software design

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