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

What is remedy testing,expalim that and how can use that

1233


What are the different ways to check a date field in a website?

668


define Testing of Procedure, Triggers and Functions in data base testing ?

3044


plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"

1731


Can you explain the elementary process?

650






what is date field test case

1447


Give the real-time example for back-to-back testing?

1363


What is the typical situation u faced while collecting the test data?

1651


What is Snapshot Testing? When we need to do and who will involve in this process and also what is the output document of this testing

2404


What exactly is quality control? Is it similar to quality assurance?

615


What is bug leakage?

727


Write the function test case to add a customer to database.

1707


What is pesticide paradox? How to overcome it?

783


What is the role of the test group vis-?is documentation, tech support, and so forth?

1605


What is an exit criteria?

657