<-- Last Module ----- Main ----- Next Module -->

Module 7: Algorithms

High School Students Will Find Their Algorithm Assignments Here.

Learning Objective: Students are introduced to the concept of algorithms and expand their knowledge of looping.

While the coding portion of the module isn't due until the end of the module, it is always best to review the programming challenges and extensions at the beginning of the week, ask questions about them and start coding.

Videos Watch before class

    Understanding Concepts
  • What is an algorithm and why should you care? (.mp4)
  • Introduction to Algorithms (.mp4)
  • More Algorithms(.mp4)
  • Sorting Algorithms (.mp4)
  • Agentsets and Lists (.mp4)
    How to do it in NetLogo
  • More Looping in NetLogo (infinite, counted, conditional) (.mp4)

Programming Challenge

  • Notes: Algorithms (.pdf)
  • Programming Assignment-Algorithms (.pdf): This week, students will work on mastering looping and begin to explore sorting. This assignment uses a base model that students modify and several image files. Students will 1) solve the different image files and 2) implement inefficient and efficient sorting.
  • IMPORTANT NOTE - ALL FILES (BASE PROGRAM AND IMAGE FILES) MUST BE IN THE SAME DIRECTORY FOR THE NETLOGO PROGRAM TO WORK! MAKE A FOLDER AND PUT ALL THE FILES IN THE SAME FOLDER!

  • Assignment Files (.zip)

<-- Last Module ----- Main ----- Next Module -->