Skip to main content

CSC 151.03, Class 41: Project presentations

Overview

  • Preliminaries
    • Notes and news
    • Upcoming work
    • Extra credit
    • Questions
  • Lightning presentations

News / Etc.

  • I expect you all to attend class on Friday.
  • Some of you will be presenting on Friday.

Upcoming work

  • Exam 4
    • Exam due Thursday
    • Cover sheets due Friday
    • Epilogues due Friday
  • Optional final during finals week (Wed 2pm, Thu 9am, or Fri 9am).

Extra credit (Academic/Artistic)

  • CS Extras Thursday: Summer opportunities in CS.

Extra credit (Peer)

  • Recitals Friday at 4:15 pm in Sebring-Lewis
  • Dance final project today at 4:30 p.m. in the Wall Theatre.

Extra credit (Misc)

Other good things

  • Stay healthy and sane during week 14.
  • Musical: Next to Normal Friday at 7:30, Saturday and Sunday at 2:30. Tickets sold out at box office.

Questions

Any more hints on problem 2?
“Trust the magic recursion fairy.” You’ve determined that lst is a pair. You tally the rest with (nested-list-tall (cdr lst) pred?). What do you do next?
Any hints on problem 4?
Use the debugger.
Run it “by hand”
Can I have a more comprehensive test suite for problem 4?
Sure.
(check-equal? (next-larger 1/2 (vector 1 2 3 4 5 6)) 1)
(check-equal? (next-larger 1 (vector 1 2 3 4 5 6)) 2)
(check-equal? (next-larger 3/2 (vector 1 2 3 4 5 6)) 2)
(check-equal? (next-larger 2 (vector 1 2 3 4 5 6)) 3)
(check-equal? (next-larger 5/2 (vector 1 2 3 4 5 6)) 3)
(check-equal? (next-larger 3 (vector 1 2 3 4 5 6)) 4)
(check-equal? (next-larger 7/2 (vector 1 2 3 4 5 6)) 4)
(check-equal? (next-larger 4 (vector 1 2 3 4 5 6)) 5)
(check-equal? (next-larger 9/2 (vector 1 2 3 4 5 6)) 5)
(check-equal? (next-larger 5 (vector 1 2 3 4 5 6)) 6)
(check-equal? (next-larger 11/2 (vector 1 2 3 4 5 6)) 6)
(check-equal? (next-larger 6 (vector 1 2 3 4 5 6)) #f)
(check-equal? (next-larger 13/2 (vector 1 2 3 4 5 6)) #f)
Can’t you write something more concise?
Yes. But I thought this was clearer.
Since #4 can return false, do we have to switch to the hideous/wonderful and/or format?
No.

About the presentations

  • I’ll use the clock.
  • I realize that there will be some transition time.
  • Do your best!
  • Plan to take questions (and to ask questions).
  • Please start with
    • Hi, we are group “…”
    • Our names are “…”
    • Our topic is “…”

Lightning presentations

You can volunteer or our mentors will choose.