how to write test cases for fibonacii series

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why it is recommended to add verification checks to your all your scenarios?

1876


How quickly we need to fix the bug? Or how soon the bug should get fixed?

896


What is Bomb Testing?

1976


Which is the best book to ref. for design the test cases/scenario in manual testing,which gives detailed idea with all the strategies ?

6416


How should validation activities be handled?

902


What is a test severity and test priority? difference between them with suitable examples?

1546


Explain thread testing.

831


Inwhat basis the time is allocated for testing the application?

1606


How will you determine when to stop testing?

829


Please is there any one working with ITR.COM? Having interview with them. Any tips will help.

1613


What is the difference between action & script ?

2209


What was a problem you had in your previous assignment (testing if possible)? How did you resolve it?

1786


Explain Testing process in your organization?

1274


how can u prepare the test plan?

2014


how can we do database testing. In database testing we verify the data integrity and data validation. how can we do testing of Index, triggers, views, ransactions,cursors etc

1667