1 of 19

Vectors

CSC 151 - Functional Problem Solving

Leah Perlmutter | Spring 2024

2 of 19

Agenda for Today

  1. Announcements
  2. Q&A
  3. Lab time
  4. Quiz time!

3 of 19

Announcements

4 of 19

Announcements

Reminder of your help resources:

  • Ask a question on the Teams Q&A channel -- underutilized!
  • Evening tutor sessions
    • drop in and get 1:1 help from a tutor
  • Mentor sessions
    • review lessons and work practice problems with mentor & peers
  • Private message your instructor to ask a question via email or teams
  • Instructor office hours
    • get help on a specific topic or troubleshoot your study strategies
    • this week only: additional office hours posted on calendly

5 of 19

Upcoming CS Department Events

  • CS Table Tuesday 12pm d-hall (usually)
  • CS Extras Thursday 4pm (usually)

6 of 19

Upcoming Community Events

  • New Indian restaurant I-80 Dhaba (not token bearing)
  • Sunday at 2pm in Hssc: Vietnamese clay figurine building!
  • Open Mic in Bob's underground at 9pm
  • Spill the Tea with Alumni: April 4 7pm in HSSC multi-purpose room
  • Disco Harris Saturday at 10pm - 1am
  • Holi Saturday
    • Festival of colors - throw color and water on your friends!
  • Middle of Everywhere today at 4 -- Los Angeles

  • See syllabus and token handout for more info on earning tokens

7 of 19

Announcements

  • There is an eclipse on Monday!
    • the first 10 minutes of class, we will meet outside Noyce, between Noyce and HSSC (Kington Plaza)
    • let's hope it's not cloudy!
    • bring your eclipse glasses if you have them!
      • make sure your eclipse glasses are not a counterfeit since your eyes would get damaged looking at the sun
    • we will head upstairs at 2:40 and class will start at about 2:45

8 of 19

Announcements

  • How to avoid an I on a Mini-Project
    • Don't forget to edit your headers
    • For more tips, read the email that Prof. Perlmutter sent on Sunday.
  • If your Mini-Project has no rubric items marked, or only one item, it means the grader made a mistake and forgot to mark them. Tell Prof. Perlmutter right away so I can tell the grader to take another look.

9 of 19

Announcements

  • Don't submit copied work as your own
    • some 151 students cheated and are facing a hearing with the Committee on Academic Standing
    • "The range of potential outcomes may include, but are not limited to, failure on the assignment, lower course grade, ineligibility to graduate with honors, failure in a course, probation, suspension, and/or dismissal from the College." -- Grinnell Student Handbook
  • If you are feeling desparate in this class, talk to your professor
    • I am here to support your learning and I want you to succeed
    • don't cheat

10 of 19

Announcements

  • Quizzes today
    • Diagramming Pair Structures (on paper only)
    • Redo: List Recursion (on paper only)
  • Lab time will end at 3:25

11 of 19

12 of 19

Q&A

13 of 19

Before we begin the lab

  • This lab is longer than the time available. Plan to continue on Monday.
    • When you arrive on Monday, sit in the same spot as today
  • Lab errata
    • 2e -- last occurrence of `list-of-values` should be `list-of-probes`
    • 2g -- add a third line: `(define list-of-probes (random-nums rounds size))`
  • Lab time ends at 3:25

14 of 19

Before we begin the lab

  • at START of lab, make plans about how you will complete the lab if you don't get through it in class
    • together or separately
    • if together, when?
  • This lab is longer than the time available. Plan to continue on Monday.

15 of 19

Lab Time

16 of 19

Lab Tips

  • This lab is longer than the time available. Plan to continue on Monday.
    • When you arrive on Monday, sit in the same spot as today
  • Lab errata
    • 2e -- last occurrence of `list-of-values` should be `list-of-probes`
    • 2g -- add a third line: `(define list-of-probes (random-nums rounds size))`
  • Lab time ends at 3:25

17 of 19

End of lab

  • 5 minutes left -- make a plan to finish your lab exercises!
  • Before submitting, make a comment in your lab code saying how far you got through the exercises
  • check course website for assignments and due dates
  • When you go, put note cards back in bin if you have not already

18 of 19

Before the quiz

  • Quizzes today
    • Diagramming Pair Structures (on paper only)
    • Redo: List Recursion (on paper only)
      • The quiz includes a trace. When tracing, write the *full* trace -- don't skip steps
  • 15 minutes per quiz (scaled according to any accommodations)
    • You may stay until 4:00 pm to finish both quizzes

19 of 19

Quiz Time

Have a great weekend!