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

Explain which test cases are written first black boxes or white boxes?

0 Answers  


What is STATEMENT COVERAGE testing

1 Answers  


Can some body help to write possible test cases for a credit card at POS (point of sale)

0 Answers  


Give me 10 test cases on library management system

8 Answers  


how to test ip address?

3 Answers   Cisco, QSpiders, Satyam,






1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.

0 Answers  


What is Initial Configuration?

0 Answers  


1.1 Purpose This tool is also a simple tool, but will be graphics- intensive, and will access the 3 databases (card databases) used in Tarot. 1.2 Scope Only for registered user. 1.3 User Interface - No questions asked, parrot pulls out tarot card - Inside Parrot application, User just have to click on a link saying ""XXXX"" to activate the tool. - Shown is the card of the day, from pack of Tarot cards(78 in number) with fixed graphics, animation, audio. Output: - Graphic-rich display of randomly selected card with detailed meaning, with links to tarot tool. - Graphics: Flying / walking parrot, emerging and choosing a card, displaying the same, and continuing to interact based on card meaning. - The cards also need to carry a brief 1/0 meaning, which will trigger a 1/0 behavior from the parrot (sympathy/making fun/crying or congratulating/smiling/winking)

0 Answers  


Explain the load testing?

0 Answers  


plz explain vss?

7 Answers   MBT,


how can we write test cases with help of functional spec? is it not appropriate to write by using the application?

3 Answers  


hi there... can any1 tel me hw to prepare a traceability matrix by taking a practical scenario..i know the theory part bt dont kno how to implent dat..

3 Answers   TCS,


Categories