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

Give the overview of application software, Question 1 Give the classificat...

Question 1 Give the classification of computers and explain them briefly Question 2 Give the overview of application software Question 3 Explain the three main types of

Explain the design steps of the transform mapping, Explain the design steps...

Explain the design steps of the transform mapping. Review the fundamental model. Review and refine the DFD for the software. Verify whether the DFD has the transf

What are the various types of system testing, What are the various types of...

What are the various types of system testing? 1. Recovery testing - is intended to check the system's ability to recover from failures. 2. Security testing - verifies th

List some of the design principles, Mention some of the Design principles. ...

Mention some of the Design principles. a.    The design process should not suffer from tunnel vision. b.    The design should not reinvent the wheel. c.     The Design sh

Show the advantages of incremental model, Q. Show the Advantages of increme...

Q. Show the Advantages of incremental Model? As product is to be conveying in parts total cost of the project is distributed. Limited number of persons is able to be pu

What is cmmi assessment, What is CMMI assessment? Examines the processe...

What is CMMI assessment? Examines the processes used in an organisation and assesses their maturity in every process area. Based on a 6-point scale: Not performed;

Determine the primary activities of spiral model, Determine the primary act...

Determine the primary activities of spiral model Below are the primary activities in this model: • Finalising Objective: Objectives are set for the particular phase of the

Software quality and testing issues, Software quality and testing issues: ...

Software quality and testing issues: The aim of this assignment is to enable students to conduct an in-depth research on software quality and testing issues. Software Quality

Define the system requirements, What is meant by System Requirements? ...

What is meant by System Requirements? Place the system services and constraints in detail. Serves as a link between the system purchaser & the system developer.

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