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

Answers were Sorted based on User's Feedback



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

Answer / vighnesh

Check with following values
R I
2 1
1 2
0 1
1 0
0 0
65535 65537
-65535 65537
65537 65535
65537 -65535
a 1
1 a
# 3
3 #
23823979234 3
3 237387328213823
3 NULL
NULL 3

Is This Answer Correct ?    6 Yes 3 No

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

Answer / sachin

BVA = Boundary Value Analysis

Is This Answer Correct ?    2 Yes 0 No

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

Answer / minal bhungani

Check the R/I result with BVA of R: 1) highest boundary value
2) lowest boundary val
3) middle value

Same as for I which contain 3 test cases
Check the operation by setting I=0 and R=0 alternatively

Is This Answer Correct ?    2 Yes 1 No

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

Answer / 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

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

Answer / vishwajeet

check for I=0
check for boundary value analysis of R -3 test cases
check for boundary value analysis of I -3 test cases
check for boundary value analysis of P -3 test cases

Is This Answer Correct ?    4 Yes 5 No

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

Answer / anjum fatima

i dont understand BVA...?
please explain

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Test Cases Interview Questions

write a test cases for table,pen,electric bulb?

6 Answers  


Do anyone hav any knowledge about testing the Eftpos System??Like what kind of test cses that can be prepared for checking the system...

1 Answers  


If there are 3 modules what would be test for that three modules but that 3 modules are not developed or what are the test case for that 3 modules

0 Answers  


plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...

0 Answers  


This question is regarding MC/DC coverage (A and B) or (B and C) or (A and C) ? how many conditions are there in above expression? what are the test cases for statement, decision, condition, MC/DC and multiple condition overage explain in deatil why ?

3 Answers   Honeywell,






Hi.........can any one tell me the basic format for writing test cases

13 Answers  


Explain the system testing?

0 Answers  


What is Unit Testing ? What is Integration Testing ? What is acceptance testing ? What is Static testing? What is System testing? What is Load Testing? What is Smoke Testing? What is Soak Testing? What is Scalability Testing? What is Sanity Testing? What is Ramp Testing? What is Monkey Testing? What is Gray Box Testing? What is Functional Testing? What is Glass Box Testing? What is Dynamic Testing? What is Compatibility Testing? What is Concurrency Testing? What is Component Testing? What is Ad Hoc Testing? What is Agile Testing?

1 Answers  


Explain the functional testing?

0 Answers  


How to write simple test cases?

3 Answers  


can any body help me with providing a a case for usability testing...

0 Answers  


What are all the companies are doing manual testing till now ?

0 Answers  


Categories