how to write test cases for fibonacii series

Answers were Sorted based on User's Feedback



how to write test cases for fibonacii series..

Answer / shubhi

Minimum 3Test cases are required to test fibonncai series:
1.)Negative TC: In which enter neg value in series, it
should not accept neg value and should return alert/msg.

2.)For zero:Enter 0 in series. It should return zero.

3.)For any positive value: Enter any positive value.
Let i entered n then it's output should be. F(n-1)+F(n-2).

These are few testcase which i think is good to test
Fibonacci series.
Pls correct me if i m wrong..
Thanks..

Is This Answer Correct ?    23 Yes 5 No

how to write test cases for fibonacii series..

Answer / vamshi kumar

1.When an zero is entered it should return a zero.
2.When a negative integer is entered it should not accept the value and should return an error msg.
3.When a positive value is entered then it should return the output.
Let i entered n then its output should be. F(n-1)+F(n-2).

Is This Answer Correct ?    10 Yes 3 No

Post New Answer

More Manual Testing Interview Questions

11. Do you have any other questions or comments about the Web site or your experiences with it?

0 Answers  


Describe any bug you remember. Plz Give some real examples

0 Answers   TCS,


5.how many deliverables are there in a project development?

2 Answers   Deloitte, Sapient,


what is the difference between reference key and foreign key

2 Answers   AZTEC,


hi frnds. can any one tel me vat is ECP, BVA ? & in testing, what testing we will done first ? either A or B ? A.regression testing, B. Resting ? & tell me why it is done first, when is other testing is to be done ? pls frnds answer me soon.... tank u all ..

4 Answers  






Why Should we prepare traceability matrix?

10 Answers   MBT,


Plz anyone help me to write testcases for squar,Triangle,Rectangle and Circle.

3 Answers  


how to face the interview how the dress wear while going to interview

5 Answers   Call Centre,


Hi, Anybody can explain me What is the Difference between 2- tier and 3-tier Architecture.

4 Answers   ACS, IBM,


sanity testing and smoke testing both are same or not? what is mean by Build Acceptance Test?

2 Answers  


Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

0 Answers   Infosys, NCR,


How could you handle the situation when you get the high seveority bug when the application is going to deliver by today night?

5 Answers   IBM,


Categories