[Cs35101] reasonable number for testing fib project

Dianne Foreback dforebac at kent.edu
Wed Oct 26 20:01:58 EDT 2016


Dear Computer Architecture Class:

Since you are required to use recursion for project 2, you may run into a
stack overflow condition if you test with "too large" of a number.  This
number can vary for each persons code due to what all is being pushed on
the stack.  Your code will be tested with a "reasonable" number.

I found an interesting link for the Fibonacci terms:
http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibtable.html

If you test with the number 50, the term is 12586269025; you might get the
stack overflow condition.

Best,
Dianne
_______________________________________________
Dr. Dianne Foreback, Assistant Professor
Department of Computer Science
Math and Computer Science Building (MSB) 266
P.O. Box 5190, Kent, Ohio 44242-0001, USA
Phone: 330.672.9064
Email: dforebac at kent.edu
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs35101/attachments/20161026/2afeaa5b/attachment.html 


More information about the CS35101 mailing list