Anyone can please inform me about how to write test cases
for any mathematical calculations. Say for example, we have
a formula in a given scenario for calculating the interest.

The given formula for interest is: (principle * 5)/(12 * 100)

In this case, the principle amount may vary. Would like to
know how many test cases can be written for this scenario
and how can we decide over this. I will be very thankful for
the answer....

Answers were Sorted based on User's Feedback



Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / akhalesh yadav

Valid test cases
1.value of principle is +ve integer value
2.value of principle is greater than 0

Invalid test cases
1.value of principle is 0
2.value of principle is infinity
3.value of principle is -ve value

Is This Answer Correct ?    8 Yes 1 No

Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / shome varma

1. Value of principle amount +Float value accepting 2 value
after decimal
2. Principle amount cannot be 0.
3.

Is This Answer Correct ?    0 Yes 0 No

Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / amy

One other to do this is equivalent partioning in the valid
test cases

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Test Cases Interview Questions

You are Only tester for Onsite client team, this team is on holiday for two day from monday & SIT is started with plan end date is friday in this case if all server,application is crashed then as a tester what will be your approach

0 Answers   Cognizant, Tieto,


hi, please anyone write test case for "Print" screen

1 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,


Do we have to write the seperate test cases for System testing and UAT testing? And also what are the roles and reponsibilities of a tester/how to interact when End users are performing the UAT Testing.

0 Answers  


write test case for pen cap if it is not present?

1 Answers  


Explain the concurrency testing?

1 Answers  


if u want to test an application which takes a data value between 0 and 59 and if u choose 55 ,what type of testing it is a) System testing b) error guessing c) Black box d) None

8 Answers  


Given the following: Switch PC on Start "outlook" IF outlook appears THEN Send an email Close outlook A. 1 test for statement coverage, 1 for branch coverage B. 1 test for statement coverage, 2 for branch coverage C. 1 test for statement coverage. 3 for branch coverage D. 2 tests for statement coverage, 2 for branch coverage E. 2 tests for statement coverage, 3 for branch coverage

1 Answers   ISTQB,


If I have to write the test cases for any report & there is date box.then may I have to write only select date or have to write all steps required for selecting date

1 Answers  


Difference between Automation testing and manual testing.

18 Answers   Mphasis, SAP Labs,


pls let me know the answer, recently i faced this question in interview. when you are writing the test cases,if the requirements are changed what will u do?

4 Answers   Wipro,


Please let me know how to write a test case for Digital Watch. Please any body can give the answer

9 Answers   Hewitt,


Categories