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

Is Beta Testing done by devolopers or testers?

8 Answers  


1.While doing regression testing one bug raised due to functionality dependency, what is the bug status that one?

12 Answers   IBM,


1. Differentiate test bed and test environment ?

0 Answers  


Difference between Web based application and web application

6 Answers   AZTEC, Wipro,


What will u do first when u are asked to start testing ?

4 Answers   Scope International,






what is meant by Pre-Conditions that we include in Test Cases? Can anyone provide those for this Website?

2 Answers  


Suppose there is a User window (having fields First name, Last name, phone & address) What is the test case for Edit User ?

0 Answers  


any body can explain me door lock test cases,cell phone test cases, table and chair test cases

6 Answers   CSC,


hi, How would you define the QA and QC?

7 Answers   BirlaSoft,


What are the points to be considered while testing an application on different browsers like firefox, opera, mozilla, ie etc. on both windows & linux ??

2 Answers   IBM,


What kind of techniques used while writing test cases?

2 Answers  


Tell me about the best bug you ever found.

1 Answers   Kumaran Systems,


Categories