Computational Literacies Lab

2. Variables and functions

Week 2 (September 1)

Due: 1.2 Terminal Adventure lab , 1.3 Names lab

Discussion on set up experience. Turtle lab recap. Introduction to functions in two metaphors: decomposing tasks and learning new words. Getting comfortable with the Terminal. Reminders.

Week 2

  • We made it through week 1!
  • Set up [00:18]
    • please contact me ASAP if you need setup help
    • set up is tricky, but it enables to create more powerful programs
    • how would you set up in your own class?
    • how I get set up in my class
  • Turtle lab recap [5:38]
    • feelings of joy, excitment, satifiaction, and frusteration
    • value of international motivation through personal exploration and experimentation
  • Journal Entries [8:14]
    • share your journal with me (eqbrown@buffalo.edu) in edit or commenting mode
    • you can add each week's entry to the same document
  • This week's assigments [9:20]
  • Reminders [11:40]
    • Group Meetings
      • post in the discord your group members, meeting time, how you will meet (online or in-person)
      • meet to discuss this week's assignments
      • post short recap in the work-session-recap channel in discord
    • reference syllabus
    • labs checked for on completion

Brief Demo of lab_terminal_adventure and lab_names

  • ohmyzsh [0:00]
    • why I have students customize their terminal
  • lab_terminal_adventure [1:43]
    • if you encounter an error running python return_to_ship.py, run the command poetry install, then try it again!
  • lab_names [3:50]
    • interactive python shell
    • introduction to functions - be mindful of indentation
  • follow along with the lab page! discuss with your group members if you get stuck
  • as always, email or post in the discord for help