Write 10 test cases for the condition P=R/I where R and I
are integer and P is floating point.

Answer Posted / priyanka nagaraj

For the most part, errors are observed in the extreme ends of the input values, so these extreme values like start/end or lower/upper values are called Boundary values and analysis of these Boundary values is called “Boundary value analysis”. It is also sometimes known as ‘range checking’.

Boundary value analysis is another black box test design technique and it is used to find the errors at boundaries of input domain rather than finding those errors in the center of input.

Equivalence Partitioning and Boundary value analysis are linked to each other and can be used together at all levels of testing. Based on the edges of the equivalence classes, test cases can then be derived.

Each boundary has a valid boundary value and an invalid boundary value. Test cases are designed based on the both valid and invalid boundary values. Typically, we choose one test case from each boundary.

Finding defects using Boundary value analysis test design technique is very effective and it can be used at all test levels. You can select multiple test cases from valid and invalid input domains based on your needs or previous experience but remember you do have to select at least one test case from each input domain.

Let’s take same above example to understand the Boundary value analysis concept:

One test case for exact boundary values of input domains each means 1 and 100.
One test case for just below boundary value of input domains each means 0 and 99.
One test case for just above boundary values of input domains each means 2 and 101.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to write a test cases for courier offices?

3348


Give me a example that differentiate Test case Procedure,Test case Scenario,Test case Discription & test steps.

2192


What is Initial Configuration?

1938


Explain the format of a requirement traceability

618


Scenarios to test wireless Speaker via bluetooth

4739






For how many days (or) weeks you will test a product or software?

1552


What is the toughest moment you faced in your testing carrier in which everyone praised you?

1805


Write test cases for this scenario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?

1920


write test cases for hospitality management system

2019


How many test cases u will write for Adhoc testing? How many test cases u will write for Alpha testing? How many test cases u will write for Beta testing? How many test cases u will write for Release candidate testing? How many test cases u will write for Product release testing? How many test cases u will write for Functional testing? How many test cases u will write for Non-Functional testing? How many test cases u will write for Integration testing? How many test cases u will write for System testing? How many test cases u will write for Component testing? How many test cases u will write for Release testing? How many test cases u will write for Load testing? How many test cases u will write for Stress testing? How many test cases u will write for Black box testing? How many test cases u will write for White Box testing? How many test cases u will write for Performance testing? How many test cases u will write for Automation testing? How many test cases u will write for Compatibility testing? How many test cases u will write for Regression testing? How many test cases u will write for Endurance testing? How many test cases u will write for System Integration testing? How many test cases u will write for Boundary value testing? How many test cases u will write for Usability testing? How many test cases u will write for Walk through testing? How many test cases u will write for Sanity testing? How many test cases u will write for Smoke testing? How many test cases u will write for Installation testing? How many test cases u will write for Soak testing? How many test cases u will write for Volume testing? How many test cases u will write for Security testing? Write test cases for Multi path testing? How many test cases u will write for Multi path testing? Write test cases for Dynamic Capacity Expansion (DCE)? Write test cases for Dynamic Volume Expansion (DVE)? Write test cases for Dynamic Raid Expansion (DRM)? Write test cases for Drive failure? Write test cases for Controller Failover? Write test cases for Cable pull? Write test cases for RAID Controller?

1922


You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then biggest_dimension = width else biggest_dimension = length end_if the following has been added to the bottom of the code fragment above. Print 'biggest dimension is ' &biggest_dimensionprint 'width: ' & width print 'length: ' & length how many more test cases are required?

889


consider a program module that inputs two (2) values, n and max, and computes the sum of the first n integers as long as this sum is less than max; otherwise an error should be reported. if n is negative, then it takes the absolute value. a) list the equivalence partitions, and b) list the boundary values.

1777


Explain the ad hoc testing?

670


Explain the load testing?

626


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

1663