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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?

9 Answers   Infrasoft,


What should be tested when Unit Testing is conducted?

1 Answers   Crea,


Can you explain Co-habiting software?

0 Answers  


What is the difference between windows application and Client server application ?

3 Answers   IBM, MMT,


I have interview on Guide wire testing. If you please share me.

0 Answers  


Give me 2 examples for - High Priority with Low Severity? And - High Severity with Low Priority??

1 Answers   Infosys, Mastek, SunGard,


From which phase will you start testing and How will you find out the left out things in testing?

2 Answers  


the typical Application Test Lifecycle?

1 Answers  


IN V-Model, from where a tester involves and from where a developer will involve???

5 Answers   Oracle,


How will you test Email field?

5 Answers   IMC, Newgen,


I am DD. I am working as a Tester in e-learning company? IS there scope for content testing? or i have to change to software testing. pls guide me...

0 Answers   Wipro,


1.hi plz can u tell me some tesyt case for creating a new folder and rename that folder 2. second plz send me some test cases for a msword file and for "save as option"

1 Answers  


Categories