CS 2114 Lecture Notes - Lecture 13: Code Segment, Github, Iterative Method
Document Summary
Project iii tower of hanoi design is due thursday, march 1 (see rubric at the bottom of the assignment); a standard design will subsequently be released, and the final project is due friday, march 23. Github workshop thursday, march 1 from 19:00 to 21:00 in surge 103-a. Lab vii is take home this week and due friday, march 2. Reading quiz vii will be due after spring break on sunday, march 11. Opendsa homework on recursion is due sunday, march 18 ~ very involved questions and are very important! Recursion: a process in which the result of each repetition is dependent upon the result of the next repetition. It simplifies a program structure at a cost of function calls (circular). Need a base case and a recursive case. No loops in recursion; only use if-statements that call the method. Each call to a method generates an activation record.