Close
Register
Close Window

Masters of Engineering Bridge Course

Chapter 9 Recursion and Software Design

Show Source |    | About   «  8.4. Introduction to Stacks   ::   Contents   ::   9.2. Software Design and MVC  »

9.1. Recursion

9.1.1. Objectives

Upon completion of this module, students will be able to:

  • Trace recursive methods

  • Implement recursive methods

  • Consider the efficiency of recursive methods

9.1.2. Introduction to Recursion

9.1.2.1. [5:53] Intro to Recursion Video, Part 1 of 2

9.1.2.2. [12:41] Intro to Recursion Video, Part 2 of 2

TODO: fix URLS.

RecursionIntroduction.pptx

9.1.2.3. Checkpoint 1

9.1.3. More Recursion

9.1.3.1. [12:36] Factorial Examples Video

TODO: fix URLS.

RecursionExamples.pptx

9.1.4. Programming Practice: Recursion 1

9.1.5. Recursion on Arrays

9.1.5.1. [13:30] Display Arrays Video

Correction to note! The code in the second example of this video is missing {} in the if block. It should be:

public static void displayArray2(int[] array, int first, int last)
{
     if (first <= last) {
         displayArray2(array, first, last - 1);
         System.out.print(array[last] + " ");
     }

}

TODO: fix URLS.

DisplayArrays.pptx

9.1.5.2. Checkpoint 2

9.1.6. Recursion on Arrays Middle

9.1.6.1. [9:53] Middle Processing Trace Video

TODO: fix URLS.

DisplayArraysMiddle.pptx

9.1.6.2. Checkpoint 3

9.1.7. Programming Practice: Recursion 2

9.1.8. Recursion on Linked Chain

9.1.8.1. [7:41] Linked Chain Recursive Video

TODO: fix URLS.

DisplayBagsRecursively.pptx

9.1.9. Tower of Hanoi

9.1.9.1. [11:44] Tower of Hanoi Video

TODO: fix URLS.

Towers.pptx

9.1.9.2. Checkpoint 4

9.1.10. Recursion Wrap Up

9.1.10.1. [8:28] Recursion Wrap Up Video

TODO: fix URLS.

RecursionWrapUp.pptx

9.1.11. Programming Practice: Recursion 3

9.1.12. Forward Flow Tracing Exercises

9.1.13. Backward Flow Tracing Exercises

9.1.14. Find Error Tracing Exercises

9.1.15. Two Recursive Calls Tracing Exercises

9.1.16. How Many Times Tracing Exercises

9.1.17. Harder Tracing Exercises

   «  8.4. Introduction to Stacks   ::   Contents   ::   9.2. Software Design and MVC  »

nsf
Close Window