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

Why is quality assurance difficult in software engineering, Question: (...

Question: (a) Why is quality assurance especially difficult in software engineering ? (b) Inspiring yourself from the McCall's taxonomy of quality attributes, explain five

What is the key process areas, What is the Key Process Areas SEI has a...

What is the Key Process Areas SEI has associated key process areas(KPAs) with every maturity level. KPA is an indicative measurement of goodness of software engineering functi

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

Goals of quality control, Describe how the goals of quality control (QC) fl...

Describe how the goals of quality control (QC) flexible manufacturing systems (FMS), design for assembly (DFA)and low overall costs can be best combined by computer integrated manu

What is recovery testing, What is recovery testing? Recovery testing is...

What is recovery testing? Recovery testing is a system test that forces the software to fail in a various of ways and verifies that recovery is properly done.

Define the level 1 of maturity model, Define the Level 1 of maturity model ...

Define the Level 1 of maturity model At this maturitylevel,software is developed an ad hoc basis and nonstrategic technique is used for its development. Success of developed s

Explain the persistent class maps to one relational table, Explain the pers...

Explain the persistent class maps to one relational table In most of cases, persistent class maps to one relational table (keeping aside inheritance issue, for the moment). In

Data Flow Diagram, I need help creating a DFD for an assignment. Is there a...

I need help creating a DFD for an assignment. Is there anyway you could help?

Define sandwich testing, Define sandwich testing. Testing joins the ide...

Define sandwich testing. Testing joins the ideas of bottom-up and top-down testing by explaining a certain target layer in the hierarchy of the module.

Software development system, Question: (a) Shneiderman's eight golden ...

Question: (a) Shneiderman's eight golden rules for dialogue design are (1) strive for consistency, (2) enable frequent users to use shortcuts, (3) give informative feedback,

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