Look through the text-based code in the NetLogo code part. What is the copyright year?
In this lesson students explore and learn the text-based (NetLogo) code behind the coding NetTango blocks.
Unit designed/developed by Dabholkar, S., Hall K., Woods P., & Bain C.
This work is supported by the National Science Foundation (grants CNS-1138461, CNS-1441041 and DRL-1020101) and the Spencer Foundation (grant 201600069). Any opinions, findings, conclusions, and/or recommendations are those of the investigators and do not necessarily reflect the views of the funding organizations.
In this lesson you will take a closer look at the underlying code that is generated when you drag the blocks. You will see that there are some parts of the code that are outside of the blocks, but are needed to get the model up and running.
Now we will look at the computer code produced from your blocks.
Look through the text-based code in the NetLogo code part. What is the copyright year?
Examine the text-based code carefully. What is the size of a wolf?
Can you find in the code the maximum number of moose that will be allowed in the model?
Challenge: According to the code, what will happen "if" there are more than the maximum number of moose?
Now that you have a more realistic model of wolves and moose, what can you transform to make it more interesting?
Here are a couple of ideas:
1. Try to make it even more realistic
2. Try to change to an extremely alien ecosystem
Challenge:
Use any combinations of blocks below to make your own world of wolves and moose. Explain your process below.
Describe your transformed world and what changes you made.
Copy and paste the text-based NetLogo code produced in your model below.
Do you think that scientists could use a model like this to study a simple ecosystem?
Explain your answer to the previous question.
What is one big idea that you have discovered in this lesson?
What is the benefit of using block-based coding like this NetTango model compared to what you normally think about with coding?
What other blocks would you want to add to this model?