EBoard 28: Trees

This class will be recorded! Its use is limited to members of the class. Please do not share with others.

Approximate overview

  • General administrative stuff [~10 min]
  • Q&A [~10 min]
  • Quiz [~10 min]
  • Mentor and Tutor Feedback [~10 min]
  • Lab [~50 min]

Administrative stuff

Notes and news

  • Review sessions for the next SoLA will be on Monday evening. (+1 token for reflections / don’t just report)
  • I’ve slightly decreased the number of LAs for each learning level.
  • I’m working on setting up additional office hours for the next few weeks. I’ll continue to hang out on teams.
  • Today you get to provide feedback to/about our mentors and tutors.
    • You get to evaluate me on the last day of class.

Some tips and tricks

  • If you use program contours, “Insert -> Large Letters” can be fun.
  • In Teams, three backticks will give you a code block. (You may have to use the “Send” button.)
  • Don’t forget Esc-P (or Ctrl-UpArrow) in the Interactions pane

Tutoring reminders

  • Please use our tutors! They like to work.
  • Evening tutoring will be available
    • 8-10 p.m. Sundays through Thursdays
    • 3-5 p.m. Sundays
    • In the “Drop in tutoring” channel on the CS team.
    • Sam will generally not be available during these times.
    • We should have two evening tutors on Wednesdays.
    • Don’t forget to cite the evening tutors (and the individual tutors).

Upcoming activities

Attend (or watch recording within a day or so) and send a one-paragraph reflection asap afterwards.

Only those activities I list count.

  • Noon, TODAY, 9 December 2020: Community Convesation. Sign up ASAP.
  • 5:00 p.m. TOMORROW, 10 December 2020: MIST: The Mathematical Image Synthesis Toolkit. Sam’s research students. (+2 tokens, even if you critique their work)
  • 2:00 p.m. Friday, 11 December 2020: Newberry Library Talk.

Upcoming work

Mini Projects

Readings

Quizzes

  • Quiz Today: Hash Tables and Dictionaries
  • Quiz Tomorrow: Tree basics

Other

  • SoLA 4 next Wednesday (note different day of week)

Q&A

General Project Questions

What should MP headers look like?

Almost the same as lab headers.

;; CSC 151.02 (Fall 2020, Term 2)
;; Mini-Project 5
;; Authors: YOUR NAMES HERE
;; Date: THE DATE HERE
;; Acknowledgements:
;;   ACKNOWLEDGEMENTS HERE

What should citations and acknowledgements look like?

At the top.

;; Acknowledgements:
;;   * Sam helped on the broad design of the project.
;;   * L's questions in class gave me a sense of how to approach
;;     the question on haiku.
;;   * Mai helped correct my code on the haiku.
;;   * I referred to the Racket page on `andmap` at 
;;     <https://docs.racket-lang.org/reference/pairs.html>
;;   * I talked to Sam abou the Haiku.  I don't think he helped.

In the documentation for procedures.

;;; (haiku) -> string?
;;; Create a really bad Haiku.
;;;
;;; Acknowledgements
;;;   I found starter code on Stack Overflow at <...>.
;;;   Mai helped me correct some of the problems.

I’m happy with either, with a slight preference for both.

Top: Easy to find.

In the code: If you copy it elsewhere, you preserve the citation.

Where do you want acknowledgements for the cool rhyming and syllable counting strategies L found?

Preferably, at the top and near the procedures that use it.

Where does the citation near the procedure go?

Usually in the documentation, separated by a blank line.

Mini-Project 5

My haiku procedure does not seem to prioritize short words. What should I do?

Write the following.

“My initial haiku procedure does not seem to prioritize short words. Sam says that I don’t have to do a second version.”

How do I decide if it’s prioritizing short words?

Estimate how often they occur? Does that seem large?

What do you mean by “vowel sequence”?

One or more vowels in a row. I would suggest that the “ou” in “cough” indicates a split. Theory: The number of syllables is one fewer than the number of vowel sequences. “coughee”

Suggestion: There’s a cool trick using digraphs.

Administrative stuff

What’s the deadline for lab and reading redos?

I was hoping not to have you do too many of those. Let me know which you want to do by Friday the 18th; you’ll need to complete them by the 22nd?

Can I bring up makeup quizzes with you?

Sure.

Can I redo a makeup quiz?

Probably not. Chat with me about particular details.

I’m really enjoying project five. Why aren’t we doing more DigHum stuff?

We lost seven class sessions to the pandemic.

Many of the DigHum topics are among the harder things in the class. I know the final mini-project from last term was awful for a lot of students. And regular expressions, which are a key DigHum tool, are one of the harder aspects of the course (worse than recursion).

When will we see the labs graded?

I’ll take a look and let you know.

Other Questions

Quiz

You know the drill.

Mentor and Tutor Feedback

  • Our mentors are Nameera and John (or John and Nameera)
  • The evening tutors are Timothy, Mai, and Devansh

Lab

Pairs are posted.