This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: if length(vec)==0 ret = 0; else temp = vec(1); if ((temp&gt;=65) &amp;&amp; (temp&lt;=90)) ret = 1 + recursive_Cap(vec(2:end)); else ret = recursive_Cap(vec(2:end)); end end B. E. None of the above A. ret = 0.1 B. ret = 200 C. -Needs to have a terminating condition -Needs to move towards termination -Need to have a call to a clone of the function CS1371 Test 2 Version C Solutions October 24th, 2007 Problem 4 Plotting [50 Points] A. 1. A, B 2. C, D 3. E 4. A, D 5. A, D 6. A, B, C, D 7. E B. 1. False 2. True 3. False 4. True 5. False...
View Full Document
This note was uploaded on 05/08/2010 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.
- Fall '08
- Computer Science