Wednesday, February 4, 2015

Slog3: impressions of tracing recursion from week 4

On week 4, we learned about tracing recursion, and while I reviewed for the midterm that I just had today, I realized that the importance of recursion is well-understanding of the one-line-coding, and finding out the pattern of the function, and use the pattern to the most complexed one. 

So... here is my recommendation of RECURSION myself:
1. read carefully of the one line coding or several lines of coding first
2. by tracing few simplest one, figuring out the pattern!
and one more important thing is
3. write carefully of parenthesis!!!! <- while I practiced tracing recursions during the lab, and lecture, I noticed that small difference in parenthesis cause totally different result!
and the most important thing is 
4. Do practice of tracing recursion many times until I become familiar of it

These are all I feel on week 4 and I recommend you and me that remember these things before you are on recursion.The recursion handout, which is from the lecture, and the lab about recursion helped me out. Especially during the lab, the lab worksheet contains the way to tracing each steps of recursion function, so that I was able to understand step by step. Also seeing posts and comments in piazza helped me too since I noticed many classmates have similar problems with me.

No comments:

Post a Comment