- Watch Video: Computerphile “Programming Loops vs Recursion”
- Note: this has some historical information that helps us visualize looping and nested loops.
- Can a recursive problem be solved with a loop structure?
- Why is recursion sometimes necessary?
- Watch Video: Computerphile “What on Earth is Recursion?”
- What is the primary requirement for recursion in computer science?
- What is the importance of the stack for recursion?
- Other than factorial as presented, can you describe another recursive process?
- Use the code snippet in Exercise 8.3 to create a class (see Workshop 3 Programming discussion).
- Copy class to the Java Tool edit window at PythonTutor.com.
- Step through the program and answer questions in 8.3 (1, 2, 3, 4) .
- Navigate to the threaded discussion and make a post that adds to the discussion by making replies to a specific assignment.
- Post your responses and results after completing Instructions Steps 1, 2, and 3.
- Respond to the questions raised by your classmates and assist each other in mastering the course material. Note: Do not give each other full code.
- Help each other by providing places to look in the book or explaining a concept in your own words.
- Your instructor will monitor these forums and provide input as necessary.
- Your initial post is due by the end of the fourth day of the workshop.
- Read and respond to at least two of your classmates’ postings, as well as all follow-up instructor questions directed to you, by the end of the workshop.
- Your postings should also:
- Be well developed by providing clear answers with evidence of critical thinking.
- Add greater depth to the discussion by introducing new ideas or observations.
- Provide clarification to classmates’ questions and provide insight into the discussion.
- Be posted on three different days during the workshop..
0 comments