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

my friend has done one project using .NET framework with C# coding and backend SQL Server 2005. In it, he has prepared and execute the test cases and stored that in the centralized database. in software testing, Do the testers do like this or use excel sheet to store the test cases? tell me .... i have so confuse.. pls anybody answer me as quickly as possible

1 Answers   Anthelio, ME,


how many test cases u write in day while testing yr application.and wat z ur role after u finished testing application plz do reply

9 Answers  


What all comes under test case review?

5 Answers   TCS,


What is the role of QA in a development project?

6 Answers  


int a, int b, int c= (a+b); Write the test cases for c.

0 Answers  






what is run time object

4 Answers   Infinite Computer Solutions,


How to test a stored procedure?

0 Answers  


plz explain vss?

7 Answers   MBT,


How we apply Test case like integration testion on calculating result or for calculation GPA..... plz urgent need???:(

0 Answers  


By clicking the file button on a Word document and opening the Print window, Identify what needs to be white box tested and what needs black box testing. (On the black box testing items, identify boundary conditions and equivalence partition testing is possible and give data examples.)

0 Answers  


write the test cases for how do u send a message in mobile

8 Answers   Subex, Wipro,


How to perform a stress test on an ATM machine? (Note ATM is a Bank ATM say Citibank, IICICI etc)

7 Answers  


Categories