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



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

Answer / meena

Verify R and I are Integers
Verify different combinations of R and I (Positive and
Negative Values) and P has Quotient with proper decimal
values.
Try a positive and negative (If both are negative result
should be positive, if one is negative result should be
Negative)
If I is 0 then proper error message is displayed.
Try Max and Min value for R and I
Try Max+1 and Min-1 for R and I and proper error message
should be shown

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Test Cases Interview Questions

Can someone help to write testcase for the scenario as early as possible.: 1. Complaint logged since one week 2. complaint info sent to supervisor with high priorit mail 3. 10 users logged into website , performance could not be degraded ( response within 5 seconds) 4. site should be user protected. 5. it should be work with IE 6 IE 7 6. complaint log should be generated more than one week

0 Answers  


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


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.

0 Answers  


i got Question from iflex-just client gave just functional spec but they didnt provide any detaill, supporting document.but they want with in ten days testplan and test cases.excuse ans like prototype method. Question is how will u start writing testcases?

6 Answers   iFlex,


1. Given the following: You have an application that consists of three parts: a front end GUI, a middle-ware layer where all the processing of data takes place and a database where data is read from. What are the areas that would be most likely to break? What would your testing strategy for this be? Why? 2. Imagine I am handing you a wine glass and I ask you to test it. What would your testing strategy for this be?

1 Answers   GE,






What is test environment? Elaborate with example.

0 Answers  


How to write testcases for username creation?Given requirements are min 6characters,atleast one alphabet,alpha,alphanumric

2 Answers  


Explain the agile testing?

1 Answers  


What is the basic stuff you require to begin creating test cases?

5 Answers   Philips,


Can any body please tell me how to test Anti-virus software? I have been asked this question many times in interview.They asked this question for a security tester,performance tester & functional tester perception. Hope u guys will reply me. Any suggestions welcome.........

2 Answers  


Write a test case of login window?

0 Answers  


What is the role of QA in a company that produces software?

5 Answers  


Categories