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 script is same like test cases?

2 Answers  


What is the difference between Functional and Technical bugs? Give an example for each.

4 Answers   Geometric Software, TR,


Hi, Can anyone suggest a test case writing technique for the below scenario. 1. User draws a lines on the image 2. User selects the lines and right clicks ( Measuremnts like distance between the start and the end point, coordinates of start point and coordinates of end point) 3. User selects one of the measurement Measurement is displayed

1 Answers   Siegeworks,


What are some best practices that you should follow when writing test cases?

0 Answers  


16.Compatibility testing is testing two application?

2 Answers   Hewitt,






hi this is satish can some one help me out by sending the maxium notes on client sesrver ,web server and company architechture project hirearchy and company hirearchy i will happy to recive the answers as early as possible

0 Answers   Persistent,


How will you test application without any SRS or any document and also the the developer who developed the application is resigned. In short no one knows the functionality of application.

3 Answers   Quexst,


What is a Show Stopper?

14 Answers   HCL,


in this project how many modules?

2 Answers   Wipro,


which sanity testing is performed?

0 Answers   PCS,


what is difference between win 98 and win 2000 poertating system?which is better one?

0 Answers   Verisoft,


what is prototype testing?

3 Answers   Accenture,


Categories