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

Explain the soak testing?

0 Answers  


Analyze the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants ‘return’ Ask: "What rate, Standard or Cheap-day?" IF the customer replies ‘Cheap-day’ Say: "That will be £11:20" ELSE Say: "That will be £19:50" ENDIF ELSE Say: "That will be £9:75" ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given. A. 3 B. 4 C. 5 D. 6

1 Answers   ISTQB,


if software faild in customer environment what we called a)error b)fault c)defect d)failure

5 Answers   ITC Infotech,


Explain the functional testing?

0 Answers  


pls send me the testcases for telecom billing system

1 Answers   Wipro,






Please share all possible positive and negative test cases for SQL reporting services.

0 Answers  


(questions asked in interview)hi every one can any one please answer to this questions.these questions were asked in an interview.i have another interview next week . 1.when the time schedule is tight how will you approch the testing,and the relese is nearing and we need to finish testing how can we follow in that case.do we need to exicute all the test cases or can priortise and leave some to next relase. 2. when a new feature is added to the existing application we need to add new test cases but after that do we need to change all the existing test cases and while running do we need to exicute entire application test cases or only the new feature test cases and related new feature test cases. 3.do you have any situation where you have to write and exicute the test cases same time, how will you follow.does it happens in real time. 4.example of bug which is not reproducible.like tester say that there is bug and developer say no can some example of such bugs. 5.during regression testing some times do we need to add new some additional test cases to test that bug.

3 Answers  


Explain the agile testing?

1 Answers  


What is the difference between System testing and System Integration testing?

4 Answers   Infosys,


Write a test case for telephone?

0 Answers  


How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character

0 Answers  


This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4

1 Answers   ISTQB,


Categories