This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1 1 CS100J 22 Feb 2006 More on Recursion My frst job was working in an orange juice Factory, but I got canned: couldn't concentrate. Then I worked in the woods as a lumberjack, but I just couldn't hack it, so they gave me the axe. AFter that I tried to be a tailor, but I just wasn't suited For it. Mainly because it was a so-so job. Next I tried working in a muFer Factory but that was exhausting. I worked as a pilot but eventually got grounded For taking oFF too much. Then I tried teaching but I couldn't make the grade. We derive recursive Functions and look at execution oF recursive calls. Study Sect 15.1, p. 415. Watch activity 15-2.1 on the CD. In DrJava, write and test as many oF the selF-review exercises as you can (disregard those that deal with arrays). Get more oF these From the course website Prelim tonight in Olin 155 at 7:30 PM. 2 Geometry test 3 Recursive functions /** = a copy oF s in which s[0..1] are swapped, s[2..3] are swapped, s[3..4] are swapped, etc. */ public static...
View Full Document
This note was uploaded on 03/03/2012 for the course CS 100J taught by Professor Davidgries during the Spring '07 term at Cornell University (Engineering School).
- Spring '07