CSC 151.01, Class 54: Project Assessment: Images and Code
Overview
- Preliminaries
- Notes and news
- Upcoming work
- Extra credit
- Exam questions
- Additional images
- Debriefing from image analysis
- Clever code - How’d you do that?
- Code crits - Why’d you do that?
News / Etc.
- Sit with your project partners!
- Grade reports distributed over the weekend.
- This week
- Today: We talk about the remaining images and about your code.
- Wednesday: We talk about the final and the class as a whole.
- Friday: You fill out end-of-course evaluations and get your final PSA. We then go over the sample final.
- If you cannot make Friday’s class, please fill out the EOCE at the end of class on Wednesday.
Upcoming Work
- No more lab writeups.
- No more quizzes.
- One more reading: Sorting
- Exam 4 due TONIGHT
- Exam 4 epilogue due Wednesday
Extra credit (Academic/Artistic)
- CS Table, Tuesday: CS-related comic strips.
- CS Extras, Thursday: Exploring Algorithms with Design and Analysis Techniques.
- CSC 322 presentations, Friday, 1:30-3:30 p.m., Science 3819.
Extra credit (Peer)
- Baseball, Friday, 9:00 a.m.
- Monday, joint a cappella concert 4pm in Bucksbaum Rotunda with G-tones, Opposed to Toy Trains, Noteworthy
Other good things to do
- It’s week 14. Take good care of yourselves.
Questions
- Why don’t we ever understand your jokes?
- I’m 52 years old. We have different cultural referents.
- For problem 1, do you have hints on writing the postconditions?
- You might look at the postconditions we provided for
vmap!to think about formalizing things. - For problem 1, do you have any hints?
- When you overwrite an entry in the vector, you’ll lose the value there. Think of a way to temporarily save it.
- For problem 2, Can I copy the code for
selectinto a local helper? - Yes. But you will have to modify it.
- Do you have hints on problem 3?
- I would write a helper that reads sequences of word characters and puts them into a list.
- Are there things you know that people screw up on problem 3?
- What happens if there are multiple spaces at the beginning of the file?
- What happens if the end-of-file object happens immediately after the last word?
- How can I think about the whatzitdo?
- What kinds of parameters does
ohave? - What does
oreturn? - Why would anyone write the whatzitdo?
- If you tell me what you think it does, and you’re right, I can give examples.
- Do you have any hints on problem 6?
- Write or find a procedure that finds the largest/smallest value in a vector.
- Modify it to find the index of the largest/smallest value.
- Generalize.
- What’s your schedule for today?
- 10-1, meetings
- 1-3, office hours (2-3 are currently unbooked)
- 4-7, watch youngest play tennis
- 7-8, dinner
- 8-10:30, answer your questions
- My code doesn’t work. Will you give me a hint to get moving forward?
- Yes.
- Will we get exam 4 back before the final?
- Yes. My goal is to have grades to you on Monday so that you can decide whether or not to take the final.