Week 5: More Recursions
In this week's lecture, we dealt with more recursions, tracing recursive functions in particular and recursion relating to the assignment. We also dealt with namespace, making variables global, local or nonlocal, this concept isn't as new to me because I've been somewhat introduced to it in high school although in Java so it's a bit different in implementation but I understood the concept.
I feel like the labs really help a lot in terms of solidifying the concepts learned in class. It somewhat forces you to understand everything in order to complete the lab. The first half of the lab went smoothly, it was mainly tracing recursive functions which I found easy enough with simple functions like the ones presented in the lab. But the second half was the hard part, it was implementing your own recursive methods for the presented problems.
I feel like the labs really help a lot in terms of solidifying the concepts learned in class. It somewhat forces you to understand everything in order to complete the lab. The first half of the lab went smoothly, it was mainly tracing recursive functions which I found easy enough with simple functions like the ones presented in the lab. But the second half was the hard part, it was implementing your own recursive methods for the presented problems.