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

How to write test cases on for Logging management?

4 Answers   ABC, TCS,


write testcases to waterbottle?

1 Answers  


What is port testing ?

1 Answers  


How will you review test cases?

26 Answers   HCL, TCS,


Write the tescases for a login page

2 Answers  


Imagine that hotmail is the application taht ur going 2 test write 10 critical test case to test it ?

2 Answers  


Any body need Realtime project with full material and explaination? I am working in a MNC and i want to start the classes for manualtesting along with QC9.0 with fully realtime scenarios and i will give assistanc about how to attend the interviews and how to get a job with experienced resume make a call to 9884521049 8939010639

3 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  


what is black box system in software development in system analysis and design?

0 Answers  


Write all Possible (+ve and -ve) Test Cases for a Date Object (DD/MM/YYYY) which is entered manually?

8 Answers  


How to write test cases for "hotel reservatrion" for ms word? Thanks a lot!

0 Answers  


For example out of 100 test cases if I ask you to automate how many you can automate?

13 Answers   HCL, MBT,


Categories