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

Write about software change strategies, Write about software change strateg...

Write about software change strategies. The software change methods that could be applied separately or together are: Software maintenance - The alters are made in the software

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

#question2. Explain any ten CASE tools...

Data dictionary, What is data dictionary entry explain

What is data dictionary entry explain

Define debugging, Define debugging. Debugging is explained as the proce...

Define debugging. Debugging is explained as the process of removal of defect. It happens as a consequence of successful testing

What are the properties of the software, What are the properties of the sof...

What are the properties of the software? Software is engineered, not manufactured. Software is free of wear out. Most software is built as required rather than being asse

Explain information management strategy, Question: (a) ‘Information Str...

Question: (a) ‘Information Strategy involves the encompassing of an organisation's information requirements and information systems planning with its long-term objectives.' T

Determine the process of software coding, Determine the process of software...

Determine the process of software Coding The input to coding phase is the SDD document. In this stage, design document is coded according to module specification. This phase t

Explain dynamic and static metrics, Dynamic and static metrics Dynamic ...

Dynamic and static metrics Dynamic metrics are closely related to software quality attributes It is relatively easy to measure the response time of a system (performance

What is random testing, What is Random testing? Random testing is also ...

What is Random testing? Random testing is also referred as adhoc testing. As the tester can give the out of coverage data and the stability of an application is checked, whethe

Performing validation testing, What are the conditions exists after perform...

What are the conditions exists after performing validation testing? After performing the validation testing there exists two conditions.  The function or performance charact

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