ABM Basics 1 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does a model usually do?

A

The code simulates interactions between different types of agents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the ‘setup’ button do?

A

Setup button is meant to create the starting conditions for the simulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you initiate and stop a simulation?

A

You press the go button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens when you press the ‘once’ and or ‘forever’ button?

A

Once buttons do one action then stop, forever buttons keep on going

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are patches, turtles, observer, agents in NetLogo?

A

Patches - the spatial domain where agents can go
Turtles - agents that move around the patches
Agents - divided into patches and turtles; beings that can follow instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: Both color and pcolor are “variables”

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s the difference between pcolor and color variables

A

the color variable is a turtle variable, while the pcolor variable is a patch variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can you make a simple setup button code for a Simple Crime Triangle Model?

A

to setup
clear-all
create-turtles 100 [ setxy random-xcor random-ycor ]
reset-ticks
end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What’s the purpose of indenting lines of code?

A

Helpful because it makes the code easier to read and change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What word does every procedure start and end with

A

starts with - to
ends with - end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly