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 integration testing, What is Integration testing: - This test i...

What is Integration testing: - This test is performed to determine the interfaces among system components, interactions between the application and the hardware, file system, a

Registers, which are the invisible registers?

which are the invisible registers?

Justify the term software is engineered, Justify the term "Software is engi...

Justify the term "Software is engineered" Software is engineered not manufactured. Although some similarities exit among software development and hardware manufacture, the two

What is data binding, What is Data Binding?    The matrix that attempts...

What is Data Binding?    The matrix that attempts to capture the module-level concept of coupling is data binding. Data binding are a calculate that captures the data interacti

Searching the database - micro cds/isis application, Searching the Database...

Searching the Database: Searching the database and printing the results of a search are important features associated with CDS/ISIS package. The query formulation strategy pro

Determine the aspects of prototyping model., Determine the aspects of proto...

Determine the aspects of prototyping model. Figure below portrays prototyping model. Prototype model has the below aspects: (i)  It helps in determining user requirements

What is the meaning of scm and sci, What is the meaning of SCM? Softwar...

What is the meaning of SCM? Software Configuration Management is termed as a set of actions performed for identifying, organizing and controlling changes throughout the lifecyc

Explain about rapid prototyping techniques, Explain about rapid prototyping...

Explain about rapid prototyping techniques. Executable specification languages. Used to living the system specification. It is expressed in a formal, mathematical la

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