CSC 151.01, Class 40: Project presentations
Overview
- Preliminaries
- Notes and news
- Upcoming work
- Extra credit
- Questions
- Lightning presentations
Preliminaries
News / Etc.
- Sit where you’d like
- Grades distributed last night. Email me if you have questions/comments.
- Food!
Upcoming work
- Exam 4
- Exams due TOMORROW at 10:30 p.m..
- Cover sheets due Wednesday.
- Epilogues due Wednesday.
- Final: Thursday or Friday afternoon of Finals Week (2pm-5pm)
- Sam should have tentative grades by Tuesday of finals’ week
Extra credit (Academic/Artistic)
- Presentation on quantifying effects of skill-based immigration. Wednesday at 4:15 in JRC 209.
- Stay tuned for info on a Friday presentation.
Extra credit (Peer)
Extra credit (Recurring peer)
- Listen to KDIC Wednesdays at 6pm - Witty banter with other
personalities and/or co-host. Also Indian, Arabic, and Farsi music.
(Up to two units of extra credit.) - Listen to KDIC Thursday at 7pm - Classic Rock. (60’s and 70’s)
- Peer editing with SS. Talk to SS about the details. Make your English Lit more literate.
Extra credit (Misc)
Other good things
Potentially less-good things
Questions
On problem 5, where we have to fix the code. How do we think about fixing something that’s not broken.
- It is broken in that it is much less efficient than it can be.
- Look for procedures that need to iterate the whole list (or significant portions) and make sure they are not used in every (or most) recursive call.
- Look for identical code.
- Look for stupid decisions that lead to inefficiencies.
- Optional: Annotate the code as in problem 6 to see what’s happening.
How much should I change?
- Everything that leads to inefficiencies.
Are you okay with nested cond?
- I generally find them ugly, but if they make logical sense it’s fine.
What should I do when I see different effects on car/cdr/cons in problem 6?
- Up to you. I’d generally look at which is worst.
On problem 5, must the indices be in order from least to greatest?
- Yes. The unit tests check that.