csmberkeley/csm-61a

[sp23] mentor08: Mutable Lists, Iterators and Generators

Closed this issue · 1 comments

[sp23] mentor08: Mutable Lists, Iterators and Generators

General Thoughts

  • Worksheet was good.
  • Table at the beginning of the mutability worksheet was helpful.
  • Wish there was more function-writing list mutation problems.

Mutable List Questions

Q1 (WWPD Mutable Lists):

  • Took a lot of time, perhaps could be shortened a bit.
  • Took another family around 10 minutes, "very quick."
  • Good problem, covers the basics -- felt very similar to two weeks ago.

Q2 (Nice Ice Cream):

  • Took too long.

Q3 (Accumulate):

  • Took around 10-15 minutes.
  • "Big fan of this question."
  • Could've been replaced with a function-writing algorithmic list mutation question.
  • Good function writing problem. Keep this in the next iteration of this worksheet.

Iterators and Generators

Q4 (Skip Machine):

  • Question took a very long time (15 minutes).
  • Students didn't feel like they new enough about OOP to tackle this question.
  • Long question, would have liked a bit more explanation in the meta.
  • Hard mix of both iterators and OOP.

Q5 (Foo):

  • Not very long, maybe 5 minutes.
  • Question was a good introduction to iterators and generators.

Q6 (In Order):

  • This took around 8 minutes.
  • Taught yielding from pretty well.
  • Put this as the first question on iterators section.

Q7 (All Sums):

  • Took around 10 minutes.
  • Allows you to teach for loops, generators, and tree recursion.
  • Good question; very similar to 61A homework problems.