Tuesday, 12 March 2013

March 8th

Busy busy busy!
This week was the most busiest week !!
I had an 10 pages of essay for my Anthropology course which was worth 50% of the grade,
I also had a scientific article to read and to write an abstract which was another 10%,
I had 1 quiz and 2nd midterms , and it was my friends birthday so
I had to finish everything before wednesday !!

For CSC104, I really did not have much time preparing for the quiz but I figured that
we were being tested on the similar concept as last week quiz so I didn't worry too much
I just took 30 mins or so to revisit the concept and manipulate them into the rackets
without looking at the videos and I was someout successful..
But the problem was the Project!
Basically, due to the busy busy week! I only had Friday to start on my Project,,
I was really worried at beggining abut I didn't know how to start,, for example,, the bouncing ball,,
I took some time, looked at it for several minutes and I just started making check-expects by looking at the some check expects below,, and I was able to slowly work things out..

But with alot of help from Prof Heap, and good community built by piazza,
I was able to finish the project, altho my ecosystem wasn't fully funcitoning right,,,
I was happy that I finished it!

One of the question I was struggling with was,,, that
(+ (- MICE-START (eaten-mice nm nf)) (new-mice num))
(ecosystem-mice eco))
for the definition of update ecosystem, but this didnt work and I was able to figure this out
by repcling nm nf and num with actual number, and made it to work by
(check-expect (new-foxes 10 10) (round (* 100 FOX-MOUSE-EAT-BREED-RATE)))
(check-expect (new-foxes 20 20) (round (* 400 FOX-MOUSE-EAT-BREED-RATE)))
(define (new-foxes nm nf) (round (* nf FOX-MOUSE-EAT-BREED-RATE nm)))

No comments:

Post a Comment