Skip to main content

CSC 151.01, Class 22: Naming local procedures

Overview

  • Preliminaries
    • Notes and news
    • Upcoming work
    • Extra credit
    • Friday PSA
    • Questions
  • Quiz
  • Lab
  • Debrief

News / Etc.

  • Have a wonderful fall break.

Upcoming Work

Extra credit (Academic/Artistic)

Extra credit (Peer)

Extra credit (Misc)

Other good things

  • Have a wonderful fall break

Friday PSA

  • You deserve a break.
  • Please stay healthy.
  • Be moderate.
  • Encourage moderation in others.
  • Consent is absolutely, positively, necessary.

Questions

Quiz

Lab

Writeup: Exercise 2.

Debrief

Note: When there’s a sample answer, you should still try the problem first. What do you learn from copy and paste?

Make tables, particularly for exercise 4.

    tally           remaining
    -----           ---------
    0               '(7 2 1 5 8 3)
    1               '(2 1 5 8 3)
    1               '(1 5 8 3)
    2               '(5 8 3)

Note: '(...) means treat the following as a list and DO NOT EVALUATE THE INDIVIDUAL ELEMENTS. So '(3 4 (sqrt 2)) is a list whose third element is the list '(sqrt 2).

Note: You wrote all-real?, or something similar on Monday. It shouldn’t be complicated. But it’s NOT (map and (map real? lst)).