week 13 do now questions. suppose you had a working model of small fish feeding and living in the...

6
Week 13 DO NOW QUESTIONS

Upload: joy-carter

Post on 17-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 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

Week 13 DO NOW QUESTIONS

Page 2: 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

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. Change the name of the procedure to BigFishWiggleb. 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 ]”

Page 3: 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

“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 codec. Allows to use a command like sharks-own

[hungry?] later in your code.d. b and c above.

Page 4: 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

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

Page 5: 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

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 availableb. The number of other fishc. The amount of energy that they need to

reproduce.d. All of the above

Page 6: 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

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 sharkb. An interaction between the shark and the

fishc. 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 coursee. a, b and c