INDEPENDENT STUDY: |
8/19/21 and 8/20/2021 week 2 (period 1,2,3,4,5,6 ONLY)
NOTE: TO CATCH UP ALL STUDENTS WHO HAVE MISSED CLASS PLESE SEE DOCUMENT ABOVE. OPEN AN ACCOUNT AND REGISTER WITH YOUR GMAIL, PLEASE USE THE SAME LOGIN INFO AS YOUR GMAIL. REGISTER WITH YOUR USERNAME AND USE THE SAME PASSWORD. AFTER REGISTERING, FOLLOW INSTRUCTIONS ON DOCUMENT.
Lesson Objectives
Teaching Guide Materials, Resources and Preparation For the Students
Review of previous day’s lesson and link to where we are going today.
Learning how to build a StarLogo Nova model requires students to learn how to translate an initial idea of what the turtles should do into specific instructions of how they should do it. These sets of instructions in computer science are called Algorithms. In this activity, participants will specify directions to help others recreate the safe path through a tangled maze without ever seeing it. Later we will draw a direct analogy to the conditional instruction used in programming the same behavior. Module 1: Modeling and Simulation 39
2. Blaze a trail (see student activity worksheet for details) (35MIN)
NOTE: The goal is to place enough landmarks so that the turtle will follow the entire path from beginning to end.
Lesson Objectives
- The student will: Learn that in complex adaptive systems one type of common interaction is that agents react to their environment (LO14)
- Create a model in which agents react to their environment (LO15)
- Trace a program’s execution (LO16)
- Experiment with adding conditionals to their agents’ behavior (LO17)
- Learn computer science concepts of Booleans, logic, and conditionals (LO18)
- Practice Pair Programming and Iterative design, implement, test cycle (LO19)
- Compare solutions to a problem using number of steps or number of instructions used (LO20)
Teaching Guide Materials, Resources and Preparation For the Students
- Student Activity Sheets (Trailblazer and Bumper Turtles)
- Three colors of pens (black, red and blue)
- Pencils and erasers
- Computers
- Module 1 Lesson 3 CS Concepts reference
- Module 1 Lesson 3 Blocks reference For the Teacher
- Computer and projector
- Slide presentation
Review of previous day’s lesson and link to where we are going today.
- What commands enabled turtles to impact their environment? [pen down, delete everyone, clear terrain]
- What could an agent leaving trails represent in a real world scenario?
- Next we are going to learn how turtles can react to their environment.
Learning how to build a StarLogo Nova model requires students to learn how to translate an initial idea of what the turtles should do into specific instructions of how they should do it. These sets of instructions in computer science are called Algorithms. In this activity, participants will specify directions to help others recreate the safe path through a tangled maze without ever seeing it. Later we will draw a direct analogy to the conditional instruction used in programming the same behavior. Module 1: Modeling and Simulation 39
2. Blaze a trail (see student activity worksheet for details) (35MIN)
- Pass out Student Activity #1 handout.
- Assign partners to work together.
- Have students start at the designated start arrow position and heading.
- Have students draw the path in order to pick up all the gold while avoiding the hazards.
- Instruct the students that it is important that they use a pencil and that they draw the path in the middle of the squares.
- Have students draw landmarks as necessary to “pick up” gold while avoiding the “hazards.”
- Players should create colored landmarks on the paper telling the other player where to go according to the following rules:
- Take a step forward.
- If you are standing on a RED square, then turn right by 90 degrees
- If you are standing on a BLUE square, then turn left by 90 degrees
- If you are standing on a BLACK square, then turn right by 180 degrees
NOTE: The goal is to place enough landmarks so that the turtle will follow the entire path from beginning to end.
- When a student has completed laying down landmarks, have him/her trade with the partner.
- The partner’s task is to follow the trail and make it to the exit, picking up all the gold and avoiding the hazards. If not, what went wrong?
- When all participants have finished, ask them to compare their results.
- Conclude by asking: How many people were able to accurately follow their partner’s path? Were there any mistakes made? (Did some people forget certain color blocks or use the wrong colors?)
- What strategies resulted in the most successful path followings?
- Is there more than one right solution?
- How would you decide which solution is the best?
- Trailblazers and Algorithms: You can think of the colored marks in Trailblazers as forming a set of instructions, just like a computer program. In computer science, a set of instructions that perform a function is called an “Algorithm.” An algorithm is sort of like a recipe that tells you how to do something.
- Is there only 1 correct algorithm for the Trailblazer map?
- Some algorithms will only work under certain conditions. For instance if there was a different map of gold, the location of the blue, red and black squares will not be effective. Teaching Tip This activity can be demonstrated on a large tiled floor using cans and objects as landmarks.
- help students out
August 18, 2021 (PERIODS 1, 3, 5, ONLY) (SEE SUCCESS ACADEMY BELOW)
Periods 1, 3, 5
Getting Started (Review)
- Activity 1 Observations and Ethical considerations concerning remixing and sharing. 20 min
- Activity 2 (Discovery/Creative) Flower Turtles Challenge: Pair programming; new StarLogo Nova commands, and Flower Turtles Challenge with extension. 20 min
The student will:
- Learn that in complex adaptive systems one type of interaction is that agents impact their environment (LO7)
- Make a model in which agents impact their environment (LO8)
- Make a program that contains simple instructions that are executed in a loop (LO10)
- Trace a program’s execution (LO11)
- Warm up….(START)
- What did you notice about the way the StarLogo Nova drawers are organized?
- What does it mean to be a web-based environment – where does my program live?
2. New commands
- Review the commands: create agents, forward, left by __ degrees, pen down, when ___ pushed, and while ___ toggled.
- Show new StarLogo Nova commands: right by __ degrees, backward, and random.
- Have students remix their Flower Turtle projects.
- Give the students the specifications for the program.
- It must do the following:
- Create turtles, have the turtles move around the space leaving trails, and have a wiggle to their walk.
- It must do the following:
- If time allows, have the students upload and share their projects.
- If time allows, talk about the execution model.
- Why does execution order matter?
- What does Flower Turtles have to do with Modeling and Simulation?
- What could these trails represent? (CT-Modeling and simulation 2-9)
- What does it mean to REMIX a program? Is it cheating?
- HW. Review the new terms used:
- Agent - a person or thing that takes an active role or produces a specified effect.
- Location - a position or site occupied
- Heading- direction ( word being used as a direction, “the heading of the turtle”),
- Steps- its a process
- pro- earlier than : prior to :.
- -cess is to move or yield.
- Iteration
- iteration in programming means repeating steps, or instructions , over and over again. This is often called a 'loop'.
- Setup- the way something is organized,
- Runtim - is the running phase of a program, is the period of time when a program is running
- Random- made, done, happening, or chosen without method or conscious decision.
- Is Flower Turtles a model of a complex adaptive system? Why or why not?
- What variables were used in Flower Turtles and the extension?
- What is the difference between turning 90 and turning random 90?
- Is the painting made by turtles repeatable? If I run the program again, will it produce the same drawing?
- Why or why not? (CPP-Data collection & analysis 2-9; CT-Modeling & simulation 2-9)
- If I run the program again, will it produce the same drawing?
- Why or why not?
- What variables were used in Flower Turtles?
- What is the difference between right turn 90 degrees vs. right turn random 90 degrees?
August 16, 2021 (PERIOD 1, 3, 5 ONLY) (SEE SUCCESS ACADEMY BELOW)
Getting Started -
1. Review of previous day’s lesson and link to where we are going today.
Activity #1: Guided Tour of StarLogo Nova -
1. Guided tour
2. Observations and ethical considerations
3. Under the Hood: Start with a new project
● StarLogo Nova is an agent-based modeling tool.
StarLogo Nova has a user interface, or way that a user can interact with it. Within StarLogo Nova you can build your “computer model” by building a computer program.
Your computer program is your “project” that is stored online.
● Show the three areas of a StarLogo Nova User Interface (info, display, code) o
The top part, called the Information area, is a place for you to give your model a title and record notes about your model.
o The middle part, called Spaceland, is a 3D world where the agents are displayed. It consists of a green flat plane (called the terrain)
. Note that it has several buttons that can be used to control the simulation.
The “setup” button, “forever” button and “score” box are called “widgets” or “user interface elements.”
o The bottom part, called the workspace or blocks area, contains drawers of blocks that represent the programming commands, and pages where you snap the blocks together to write programs.
Module 1: Modeling and Simulation 13
● learn commands on blocks, and say snap together like Lego blocks.
● Show where these blocks are located in drawers and if time allows setup a simple sequence of steps and execute.
---------
Wrap up;
-----------------------------------
1. Review of previous day’s lesson and link to where we are going today.
- What is a complex adaptive system? Characteristics
- a system made up of many individual parts or agents.
- The individual parts, or agents, in a complex adaptive system follow simple rules.
- There is no leader or individual who is coordinating the action of others.
- Through the interactions of the agents emergent patterns are generated.
- What do computer models let you do that you cannot in real life?
- What was NOT captured in the Turn & Walk model that happened in real-life?
- Have students visit the link
- Create an account
- Have them write their passwords down in their agendas
Activity #1: Guided Tour of StarLogo Nova -
1. Guided tour
- Teacher-led overview of the first pages of the Guided Introduction from creating a new project to end of Flower Turtle project.
- Have students progress through the new project, completing each task before moving on.dd
2. Observations and ethical considerations
- What did you notice about the way the StarLogo Nova drawers are organized?
3. Under the Hood: Start with a new project
● StarLogo Nova is an agent-based modeling tool.
StarLogo Nova has a user interface, or way that a user can interact with it. Within StarLogo Nova you can build your “computer model” by building a computer program.
Your computer program is your “project” that is stored online.
● Show the three areas of a StarLogo Nova User Interface (info, display, code) o
The top part, called the Information area, is a place for you to give your model a title and record notes about your model.
o The middle part, called Spaceland, is a 3D world where the agents are displayed. It consists of a green flat plane (called the terrain)
. Note that it has several buttons that can be used to control the simulation.
The “setup” button, “forever” button and “score” box are called “widgets” or “user interface elements.”
o The bottom part, called the workspace or blocks area, contains drawers of blocks that represent the programming commands, and pages where you snap the blocks together to write programs.
Module 1: Modeling and Simulation 13
● learn commands on blocks, and say snap together like Lego blocks.
● Show where these blocks are located in drawers and if time allows setup a simple sequence of steps and execute.
---------
Wrap up;
- Review the new terms used:
- Agent - a person or thing that takes an active role or produces a specified effect.
- Location - a position or site occupied
- Heading- direction ( word being used as a direction, “the heading of the turtle”),
- Steps- its a process
- pro- earlier than : prior to :.
- -cess is to move or yield.
- Iteration
- iteration in programming means repeating steps, or instructions , over and over again. This is often called a 'loop'.
- Setup- the way something is organized,
- Runtim - is the running phase of a program, is the period of time when a program is running
- Random- made, done, happening, or chosen without method or conscious decision.
-----------------------------------