This week I finally
finished Assignment #1. Yay! I found the most difficult part of this assignment
was fully understanding what the instructors wanted and to analyze the client
code to see what the final output should be. The more I went on Piazza, the
more confused I would get. I don't think I was the only one, because a lot of
people were asking the same questions over and over again and it seemed a lot
of misunderstandings were created. The thing most people were confused over was
in regards to which functions/methods we had to write examples for. Some people answered that
it was only for the functions/methods that we had to write the docstrings for,
while others answered it was for any function/method that did not return None.
I ended up just writing for all the functions/methods that did not return None,
but even now I am unsure as to what is really required.
I believe through
this assignment I really got a taste as to what it is like to design your own
classes based on reading through docstrings and client code. I think it was a
good exercise for all of us to think more like computer scientists. I believe
my code (at least most of it) is correct, as I got the correct output for the
output_small.txt we received. I can only hope that my style was good. I am
really praying that my mark will be good for Assignment #1 because I really
want to boost my mark after a very disappointing midterm. The only thing I am
worried about for the assignment is that I had almost no helper
functions/methods at all, which I found peculiar. I just never saw the need for
them but I remember when I did assignments in CSC108, I always wrote helper
functions, so it felt strange this time.
The lab this week
was very easy. I finished it very quickly and it was very straight forward
unlike the last one, which got me really confused. We were introduced to
recursion this week. I have always heard that recursion is very difficult, so I
feel a little anxious for what's to come. So far things are straight forward
and I am understanding what is going on during lectures. But I have not
practised writing my own recursive functions, which is probably where things
will get difficult. It is one thing to understand something when going over the
solutions, and another when implementing your own recursive functions. However,
I believe with practise things will get easier, and I will perform much better
on the next midterm.
See you next week!
No comments:
Post a Comment