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

Explain the instruction pipelines, Explain the Instruction pipelines In...

Explain the Instruction pipelines Instruction pipelines: - An instructin pipeline reads consecutive instructions from memory whereas previous instructions are being implemented

What is an update task, What is an update task? It is an SAP given proc...

What is an update task? It is an SAP given procedure for updating a database.

SOFTWARE, EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

EXPLAIN COMPONENTS OF DATABASE MANAGEMENT

Explain the activities of software maintenance, The activities of software ...

The activities of software maintenance Software maintenance is a broad activity that contains error correction, increasing of capabilities, deletion of obsolete capabilities an

What are the benefits of prototyping, What are the benefits of prototyping?...

What are the benefits of prototyping? i. Prototype serves as a basis for deriving system specification. ii. Design quality can be improved. iii. System can be maintained

Explain the static testing and dynamic testing, Static testing and dynamic ...

Static testing and dynamic testing Static testing is checking the application without actually running the application while dynamic testing checks the application by running i

Describe phases of unified software development life cycle, Question: (...

Question: (a) With the aid of a labeled diagram, briefly describe the phases of the "Unified software development life cycle" and state the output of each phase. (b) Describ

What is grey box testing, Grey box testing is a software testing method tha...

Grey box testing is a software testing method that uses a combination of black box testing and white box testing. Gray box testing is not the black box testing, because the tester

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