GeeksforGeeks » Interview Questions

Microsoft Interview Question for Software Testing (0 - 2 Years) about Testing

(2 posts)

Tags:

  1. sidh
    guest
    Posted 4 months ago #

    Write a function to generate fibonacci number, The function takes two argument. The first one is the starting point of fibonacci series and second one is length. (e.g fib(3,4) will print 2 3 5 8). What are the test cases. Mention your top 5 test case. Mention your top 1 test case

  2. gaurav
    guest
    Posted 4 months ago #

    1) check first argument is >=0.
    2) check second arg is >=0.
    3) check overflow,i.e a fibo no generated should lie in range.


Reply

You must log in to post.

RSS feed for this topic