EBoard 35: Hash tables, concluded

Warning This class is being recorded (and transcribed) (assuming Teams succeeds).

Approximate overview

  • Administrivia
  • Questions
  • Lab

Administrivia

  • Please work with your mini-project 9 partner(s) on this lab.
  • Please return cards, boards, and markers to the back of the room when you finish class today.
  • In case you don’t read email: I will not penalize you for missing or late assessments as long as you do the two MP9 assessmens.
    • Assessments are generally for your benefit, not mine.
  • Wednesday’s class will be a “recitation day”; that is, we’ll develop a data structure together. Lots of opportunities for TPS.
  • I’m hoping to limit the pre-lab stuff today so that you have lots of time for labs.
  • MP6 (sorting) returned

Upcoming Token activities

Academic

  • Tuesday, 2023-11-21, Noon, Day PDR, CS Table: Cell phone addiction.

Cultural

Peer

  • Tuesday, 2023-11-21, 4-6pm, 3rd floor HSSC, somewhere: Wilson Catalyst

Wellness

  • Be thankful.
  • We need more of these!

Misc

  • Subject yourself to a study of types.
  • Please fill in the peer educator evaluations

Other good things (no tokens)

Upcoming work

  • Reading for Wednesday: Priority queues.

Some notes from MP6

  • Please follow style guidelines and/or reformat.
    • Space after if, while, etc.
    • Space before open braces.
    • Ugh: if(x==1){...}
    • Better : if (x==1) {...}
    • Two-space indent.
  • I have no idea why so many of you think that it’s a good idea to put comments on the side. DON’T. Comments generally belong above the code they describe. x = 2; // Assign 2 to x
  • Sam likes you to comment right braces. } // if } // for
  • Please use the starter code.
  • I was surprised that so few of you used an explicit insert in InsertionSort.sort.
  • Please don’t repeat helper methods like swap.
  • Please commit more regularly.
  • Many of you worked with other people on labs related to the MP, but did not seem to cite them.
  • Please try to limit your lines to fewer than 80 characters.

Questions

Hash tables

MP9

Administrative

How much time for redos?

As much as you need, I think.

I’m going to try to get graders to grade things as they arrive.

Will there be second rounds of redos?

Yes.

Will there be third rounds of redos?

Sure.

Wow, you’re harsh. You gave me an I because I didn’t put my name on the assignment.

Welcome to the real world.

At least you get freedos.

Lab