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 process, Explain Process? The work effort that makes a product. ...

Explain Process? The work effort that makes a product. This contains efforts of people and equipment guided by policies, standards, and procedures.

Explain the quality assurance, Quality Assurance Quality assurance is a...

Quality Assurance Quality assurance is an activity that establishes and evaluates the processes that produce products. Quality assurance would calculate processes to identify w

Case tools, #question2. Explain any ten CASE tools...

#question2. Explain any ten CASE tools...

What is requirements engineering, What is Requirements Engineering Req...

What is Requirements Engineering Requirements engineering is systematic use of proven techniques, principles and language tools for cost effective analysis, on-going evaluatio

Explain key process areas of cmm, Key process areas of CMM. 1.  Require...

Key process areas of CMM. 1.  Requirements management which establishes a common relationship among the customer and developer 2.  Software project planning where reasonable

Structured analysis model, Structured Analysis Model Structured  analy...

Structured Analysis Model Structured  analysis is the  most  broadly  used  of  requirements  modeling  techniques  relies  on flow modeling and data modeling to established t

SQA Planning, I want to know that what are the activities, roles,artifacts ...

I want to know that what are the activities, roles,artifacts and goals do a planning phase of SQE encempass? How can we prepare sqa plan for any project?

State the working of system evaluation, State the Working of System Evaluat...

State the Working of System Evaluation compare final solution with original requirement identify any limitations in system identify any necessary improvements which

Explain regression testing, Regression test cases which a program has previ...

Regression test cases which a program has previously implemented correctly in order to detect errors spawned by changes or corrections done during software development and maintena

What is constructive cost model, Q. What is Constructive Cost Model? CO...

Q. What is Constructive Cost Model? COCOMO model denotes Constructive Cost Model. It is an empirical model basis on project experience. It is well-documented and independent mo

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