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 diffrent types of system testing, Q. Explain diffrent types of syst...

Q. Explain diffrent types of system testing? System testing System tests are designed to validate a fully developed system to assure that it meets its requirements. There are f

What is transform mapping, What is Transform mapping? The transform map...

What is Transform mapping? The transform mapping is a set of design steps applied on the DFD in order to map the transformed flow characteristics into exact architectural style

Offshore oil industry, as software project manager in company specialized o...

as software project manager in company specialized on offshore oil industry have been tasked to discover factors affecting mantainability of the system developed by the company.wh

Briefly describe the principles of the dsdm methodology, Question: a) B...

Question: a) Briefly describe the principles of the DSDM methodology. b) What are the advantages of using the DSDM methodology? c) The MOSCOW technique is used to priori

Define repeated inheritance, Repeated inheritance If a class inherits ...

Repeated inheritance If a class inherits more than once from the same class then it is referred to as repeated inheritance.

Why is good design important for a product, Q. Why is good design important...

Q. Why is good design important for a product? Ans: A superior design is the key to successful product. Almost 2000 years previously a Roman Architect recorded the followin

List the guidelines for data design, List the guidelines for data design. ...

List the guidelines for data design. i. Apply systematic analysis on data. ii. Identify data structures and related operations. iii. Establish data dictionary. iv. Use

Define about the requirement traceability matrix, When is RTM (Requirement ...

When is RTM (Requirement traceability matrix) prepared - after or before test case designing? - RTM is prepared before test case designing. - Requirements must be traceable

Explain about core dumps debugging technique, Q. Explain about Core dumps d...

Q. Explain about Core dumps debugging technique? Debugging is the activity of locating as well as correcting errors. Core dumps: -A printout of all registers as well as rel

SYSTEM ANALYSIS AND DESIGN, A program is to be developed to simulate the op...

A program is to be developed to simulate the operations of a scientific calculator. List the facilities to be provided by this calculator. Analyze this using a DFD 0 - level and 1

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