Week 6: Variables And Scope

Contributor

Week 6: Variables And Scope 

Learning Objectives: This week the student learns about applying abstraction to modeling and the different types of variables used in NetLogo.  Input and output in NetLogo is also covered.

Pacing Guide (.doc)

Do Now Questions

  • Do Now Slides (.ppt)
  • Do Now Handout - no Answers (.doc)
  • Do Now Questions with Explanations ***

Programming Challenge

  • Programming assignment - Where is Nemo? (.doc)
  • NetLogo Cheat Sheet (.doc)
  • Code Sample ***
  • Extra Credit Code Sample ***
  • Other Sample Programs ***
  • Grading Rubric

CS Concepts

  • CS Concepts (.doc)

Videos

  • Abstraction in Modeling and Simulation (.mp4)  (.ppt)  (transcript)
  • Variables and Scope (.mp4)  (.ppt)  (transcript)
  • Gluing a Torus (.mp4)
  • Interface Input in NetLogo (.mp4)  (.ppt)  (transcript)
  • Interface Output in NetLogo (.mp4)  (.ppt)  (transcript)
  • Biology and Computation: An Agent Based Model of Ant Foraging - Melanie Moses  (mp4)  (transcript)
    • Please watch the FIRST 19:04 MINUTES of the video for overall content – NOT details. This is just for exposure to full blown complex adaptive system modeling
  • Video Summary (.doc)

Reading Materials

Hands on activities (optional)

  • Objects and Atributes (.doc)
  • Program Your Robot Activity
    • Program Your Robot : An online computer game that reviews computer programming concepts!
    • Solutions to Program Your Robot (.pdf)
  • 20 Guesses - from CS Unplugged (.pdf)

Quiz - With Answers (.doc) ***

Quiz - NO Answers (.doc) ***

*** All answers to quizzes, tests, Do Nows and sample programs are available upon request to teachers or other interested memebers of the CS education community but not to students taking the class.  Please contact to request this information.