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

State the term- code coverage, State the term- Code Coverage This is a...

State the term- Code Coverage This is an analysis method that determines which parts of software have already been covered by test case suite and which are remaining.

Draw a flowchart for pay no tax, A town comprise 5000 houses. Every house o...

A town comprise 5000 houses. Every house owner should pay tax based on the value of house. Houses over $200 000 pay 2% of their value in tax, houses over $100 000 pay 1.5% of their

Different phases of spiral model, Four Different Phases of spiral model are...

Four Different Phases of spiral model are: 1) Planning  2) Risk analysis 3) Development 4) Assessment

Write definition of dfd, Write definition of DFD? Data Flow Diagram sup...

Write definition of DFD? Data Flow Diagram supplies the information flow and the transforms that are used on the data as it moves from input to output.

Different type of testing tools, Different type of testing tools. (a) T...

Different type of testing tools. (a) Test Case Generators: (b) Capture/ Playback and Test harness tools: (c)  Coverage Analysis Tools: (d) Test Comparators e) Memor

Quality control concept, (i) Concept definition of Quality Control and Qual...

(i) Concept definition of Quality Control and Quality Assurance (ii) Tools used in quality control (iii) Acceptance sampling and process control (iv) Statistical tools for

Types of debugging techniques used in software testing, Name the types of ...

Name the types of debugging techniques used  in Software testing.   various debugging techniques are:- 1) Core dumps 2) Traces 3) Print statements 4) Debugging pr

State about the normal data - Test data, State about the Normal data- Test...

State about the Normal data- Test data -  This is data which is valid/acceptable and has expected outcomes (for instance, if a date is being input the day must be in the rang

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

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

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