2014年3月25日星期二
Week 9
I worked on e2 this week. It made me more and more proficient on recursion. But I still saw some error occur from the report although I did a lot of test on my code to make sure they are right before I handed in them. Well maybe there is some detail that I didn't discover. And I also see my report of assignment 1, I'm so surprised that I only got 50%. I think my code can deal with all the test cases. The report show that I didn't write any examples and some other detail problem. I just felt upset about that result and hope I can do better in next assignment.
2014年3月9日星期日
Week 8
The deadline of part 1 of the assginment 2 is Sunday and I started to work on it on Saturday. Well I know I'm a lazy guy lol...At first I didn't understand the question well. Why does Dan let us use multiclass rather than a single class? Then I logged into the Discussion Board and found that so many students get confused on that part. I thought a lot about that and finally figured out that different roots has different number of children so we need different classes. The most complicated part is how to transfer a regex to a tree. I design a loooooooooong recursive code which made me proud of myself. I tested the code with different sort of regex string and it does work perfectly. What a wonderful day! :)
Week 7
After the study break, this week we had the mid-term exam. The exam is not hard but I spent half of time on the Recursive question and I didn't figure it out. I'm sure I can do that if I got more time. The result is not that good, only 12 out of 20. Also I've seen the report for my assginment 1. I see that the test did not work on my code in tour.py because I changed it a lot. Well maybe I need to work harder on this course now.
订阅:
博文 (Atom)