Assignment 1 actually went surprisingly well. After reading the sheet for the first time, I definitely considered dropping this class because I felt like I'd fallen behind too much. I was feeling like compsci and I hadn't really gotten close enough for me to complete something like that. However, after talking out the assignment with my partner- I realized what the overall idea for the program was. After getting a clear thought process in my head and thinking about how the data structures would work for stools and such, I could see what code was needed. Step 5 did take a bit of time, sweat and tears but I think the assignment went quite well. Seeing recursion work in a program that I partially designed was fulfilling as well as educational.
This week in lecture we went over trees, which use recursion. I found learning about recursion in this way quite helpful. I don't really understand what the value of learning about trees is, or how they can be used but I'll definitely be finding that out in the future.
The lab went well. My partner and I went through the steps quite quickly since we both seem to be understanding the application of recursion much more soundly than before. My one problem is that I don't always think to use recursion if I'm not told (such as in lab) "solve the problem by writing recursive code". I hope to eventually get to the point where I can see that I need to use recursion. I am able to trace the recursive code in my head and I understand how it works, I just need to work on realizing when it is useful in code.
Well, that's all my thoughts on compsci for this week. Comments are welcome.
No comments:
Post a Comment