FINAL EXAM > CSE 3101 Final exam | York University CSC 3101


York University CSC 3101 CSE 3101 Final exam Dec 16, 2017 1. (6 points) Prove that the following algorithm for finding Fibonacci numbers is correct. Recall that for Fibonacci numbers Fn; n 2 Z; n ≥ 0, are defined as F0 = 1; F1 = F2 = 1 and for n > 1, Fn = Fn-1 + Fn-2. Assume that \for i = 1 to k" implies that the body of the loop is executed k times. Fib(n) ...[Show More]

Preview 1 out of 9 pages
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )

Unlock this Document

Purchase the document to unlock it.

$5.00

Unlock Now

2
0

Category:
Number of pages: 9
Language: English
Last updated: 1 day ago
Downloads: 0
Views: 2

Can't Find what you want?

PLACE CUSTOM WRITING ORDER

Related documents

Get more on FINAL EXAM »