Week 5

  • Attendance

  • Notes:
    • there are still a few students who haven't been checked off for lab 3 (Mar 5th)
    • check Campuswire channels outside of class for communications:
      • #office-hours, #assignments, and the Class feed
      • there is a Campuswire app for your mobile device (iOS and Android)

    • Due: today, Mar 15, 11:59pm
    • Questions?

  • Lecture 6:
    • Managing grades
    • Data with varieties isn't always about different types of structures (like it was with varieties of animals)
  • Assignment 2:
    • Happy Cat – to come
    • demo
    • gist:
      • this assignment combines both parts of assignment 1 into one big-bang program
      • one additional difference: the cat moves left-to-right and right-to-left at different times, changing direction when it hits a wall (instead of wrapping around)
      • we can no longer represent the state of the world with just a single number
      • this big-bang program uses a structure to represent the state of the world
      • the state of the world keeps track of the cat's x coordinate, the cat's direction (dx), and the cat's percent of happiness.
    • templates for vcat functions: vcat-template.rkt
    • due: Monday, Mar 29

  • Assignment 2: assigned
  • Lecture 7:
    • Lists (aquarium of fish) – back to “fully packed” boxes of fish
  • to come