Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week 13 DO NOW QUESTIONS. Suppose you had a working model of small fish feeding and living in the ocean. How could you change the code below to make the.

Similar presentations


Presentation on theme: "Week 13 DO NOW QUESTIONS. Suppose you had a working model of small fish feeding and living in the ocean. How could you change the code below to make the."— Presentation transcript:

1 Week 13 DO NOW QUESTIONS

2 Suppose you had a working model of small fish feeding and living in the ocean. How could you change the code below to make the model more general so that you could explore a variable without having to change the actual code each time? a.C hange the name of the procedure to BigFishWiggle b.Change line iv “Forward 2” c.Add a new slider called newSlider and change line v “set Fenergy Fenergy – newSlider” d.Include a line that “Ask fishes [ set size 3 ]”

3 “Breeds” allow programmers to have different kinds of turtles with different custom variables for each breed. The names also help programmers keep track of which agentset they are working with. What does the following command do? a.Immediately Creates 100 sharks b.Allows you to use the command “create-sharks” later in your code c.Allows to use a command like sharks-own [hungry?] later in your code. d.b and c above.

4 In a model that has fish that are moving and expending energy; eating and gaining energy; why might you want to have the code below? a.To punish the fish for not doing what you say. b.To model the consequences of running out of food. c.To make a more accurate model of sustainability—fish die when resources are depleted. d.b and c

5 The concept of “carrying capacity” is important in biology. It means that a given environment only has enough food (or space, etc.) to support a certain number of organisms. In a model that has fish moving (spending energy), eating (gaining energy), and reproducing when they have gained enough energy, what limits the fish population? a.The amount of food available b.The number of other fish c.The amount of energy that they need to reproduce. d.All of the above

6 You have created a simple fish ecosystem model with fish and plankton. Now you want to add a predator, say a shark. What things do you need to include? a.A new breed perhaps called shark b.An interaction between the shark and the fish c.Procedures that allow the shark to move around, give birth and die. d.Nothing, you just need to put the shark into the model and let nature take its course e.a, b and c


Download ppt "Week 13 DO NOW QUESTIONS. Suppose you had a working model of small fish feeding and living in the ocean. How could you change the code below to make the."

Similar presentations


Ads by Google