Week 30 - OOP Programming homework

Week 30 - OOP Programming homework

by Dal Sandhu -
Number of replies: 0

You should have completed both tasks from last week. If you haven't, details are here:  https://online.godalming.ac.uk/mod/forum/discuss.php?d=13449

For this week please watch Joe's excellent introductory walkthrough of the predator prey simulation here:  

Although the code is VB it follows the Python and C# closely so you should also be able to follow it.

To prove  to me that you've watched the video, answer these questions and upload your answers here:  Video Walkthrough Upload Assignment

Questions:

  • Which conversation does Joe say that he hopes you've had with your parents!?
  • Which rules does Joe say are "mutually exclusive"
  • Joe says CalculateAge would be better called something else. What is that something else? 
  • A loop runs that iterates through the landscape determining if the fox at each location reproduces. However, new foxes are not actually created until this loop has finished running. Why is this?