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

What are the test scenario's for pen like high priority high seviority?

4 Answers   NetWeb, Zycus Infotech,


how to test stand alone programs?

0 Answers   Accenture, Google,


Write the 10 test cases for Telephone/Pen.

12 Answers   Infoedge,


Write test caes on 1.excel sheet 2. gmail attachments 3.raiway ticketing 4.negative test cases on net banking

5 Answers   Zycus Infotech,


Which testing is important, positive testing or negative testing. Test cases for postive and negative testing for a given functionality.

2 Answers  






my namjad . firefox doesn't open yahoo page but other page open so what is reason I'm again install but is not working

3 Answers   Wipro,


test cases for black board test cases for pencil

2 Answers  


how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?

0 Answers   PMC,


An Excel sheet contains 2rows and 3 columns of data.I want to copy these data in to the another excell sheet. Write the possible positive and negative test cases?

0 Answers   IBM,


Circle any inconsistencies in the following text: User Story 3005 - Dave wishes to talk to Fred using a radio. Business Requirements: 1. Dave needs the ability to put a line into select. 2. Dave receives a visual color and text indication that the line is selected (picked up). a. Default indication will be that the pad turns red and the text ‘Select’ appears as the 3rd line of text. 3. David hears audio from a selected line in his defined audio path. 4. Dave uses Push-To-Talk to talk to Fred. 5. Dave receives a visual color and text indication that the line has been de-selected (hung up). • The default inactive state is a white pad with no text on the 2nd line. 6. Multiple Freds can select the same radio. 8. If a radio is selected while another radio is already selected, then the first phone is automatically deselected.

0 Answers  


What is component testing?

0 Answers  


1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.

0 Answers  


Categories