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

Determine the use of architectural design, What is the use of Architectura...

What is the use of Architectural design? The Architectural design defines the relationship between major structural elements of the software, the "design patterns" that may be

Illustrate detailed cocomo model, Q. Illustrate Detailed COCOMO model? ...

Q. Illustrate Detailed COCOMO model? Detailed COCOMO it incorporates all characteristics of the intermediate version with an assessment of the cost driver's impact on every ste

Explain the basic cocomo model, Question: (a) (i) Define the following...

Question: (a) (i) Define the following terms briefly: COCOMO, DSI, FSP, MM, ACT, TDEV, (MM)AM. (ii) State the assumptions underlying the Basic COCOMO model. (b) Suppos

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

Memory locations and registers pc-ir-mar, Assume 64 different op codes and ...

Assume 64 different op codes and 19-bit instruction word in a computer system. Two bits in the instruction are reserved to indicate the addressing mode.    a. Draw a box style ske

What is system test, An activity in which a system or component is implemen...

An activity in which a system or component is implemented under specified conditions, the results are observed and an evaluation is made of some problem of the system or component.

What is software architecture, What is software architecture The softwa...

What is software architecture The software architecture of a program or computing system is the structure or structures of the system, which comprises software components, the

Explain the steps used in in system analysis, Question 1 A) If you are a s...

Question 1 A) If you are a software engineer you must be expert in the field of hardware, software  and also database. It has been listed by the industry professionals that time a

Recreating Sections of Google+ in C, Create a compound data type called Pos...

Create a compound data type called Post to store messages posted on Google+. Post should include: Name / Data Type / Description date / char [9] / date fields for

What is test case generator, A software tool that accepts as input source c...

A software tool that accepts as input source code, specifications, test criteria, or data structure definitions; uses these inputs to make test input data; and, sometimes, verifies

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