After a very stress filled and a packed weekend I finally managed to get the A2 done. I decided to work in a group to lighten my load as well as my partners' load as well since we all had a tonne of other things due. I wrote the good copy of the problem set the night before just because I could not get any time to start on it anytime earlier. Although it was easy , it still took me some time to write it up properly as my rough work was very , well rough.
Loop iteration isn't very hard especially when you figure out the precondition and postcondition, but thats where the problem lies for me. I find it difficult to come up with a suitable precondition , especially if its a function like pow , where the conditions are very trivial which makes them hard for me. Hopefully ill understand loop invariants a little better by the end of the week after my very busy week.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment