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 are the objectives of analysis modelling, What are the objectives of A...

What are the objectives of Analysis modelling? i. To explain what the customer requires. ii. To establish a basis for the creation of software design. iii. To devise a se

Given titles IOT/ IOE, Dear Sir/ Madam I have an 8 page essay to be written...

Dear Sir/ Madam I have an 8 page essay to be written how much I pay per page? Thanks

Explain the use of scm process, Question 1 Explain the origin of the defec...

Question 1 Explain the origin of the defect distribution in a typical software development life cycle Question 2 Explain the concept of quality Question 3 Explain the contents

Explain in detail about software maintenance, Explain in detail about softw...

Explain in detail about software Maintenance. Software maintenance is an action in which program is modified after it has been put into use. Maintenance is termed as the

Transfection and transduction, What is difference among transfection and tr...

What is difference among transfection and transduction? Ans) Transfection: Transmission of naked DNA into eukaryotic cell Transduction: Transmission of genetic material from

Explain virtual memory, Explain virtual memory? Ans) Virtual memory tell...

Explain virtual memory? Ans) Virtual memory tells to virtual storage. In virtual storage, portions of a user's program and data are placed in auxiliary storage, and the operatin

Explain scm, What is SCM? Software Configuration Management is a set of...

What is SCM? Software Configuration Management is a set of activities carried out for identifying, organizing and controlling alters throughout the lifecycle of computer softwa

Explain quality control, The operational methods and processes used to achi...

The operational methods and processes used to achieve quality requirements.

What is version and release management, What is Version and release managem...

What is Version and release management? Invent an identification system for system versions. Plan when a new system version is to be formed. Ensure that version managemen

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