Functional Problem Solving (CSC 151 2016S) : EBoards

CSC151.02 2016S, Class 54: Project Assessment: Algorithms


Overview

Preliminaries

Admin

Reminders

Upcoming Work:

Extra Credit

Academic / Artistic

Peer

Regular Peer

Misc

Questions

Can you help with problem 6?

Use direct recrusion, not helper recursion.

Can you help with problem 4? I'm getting empty strings

Think about an input of

    , Sam.

read-char returns #\, Not an alphanumeric KEEP GOING

read-char returns #\space Not an alphanumeric KEEP GOING

read-char returns #\S Alphanumeric Remember the #\S and KEEP GOING

read-char returns #\a Alphanumeric Remember the #\a and KEEP GOING

read-char returns #\m Alphanumeric Remember the #\m and KEEP GOING

read-char returns #. Not an alphanumeric STOP

Are there special cases on problem 4?

read-char returns #, Not an alphanumeric. If you are at the beginning of the word, stop and return what you just read. If you are at the end of the word, ....

Why did you put $car on the board yesterday?

Ideas for problems 1 and 2.

How do you display what's happening as you go through the kernel in problem 2?

Use something like

    (display i) (display " ") (display avec) (newline)

How do I get a procudure to return nothing?

Call (void)

The postcondition sounds hard on problem 6.

I agree. I'm okay with a less formal one for this problem.

Should we do formal postconditions on 3?

Definitely.

How many parameters should we document on problem 3?

Two.

If we call helpers that use car, cdr, vector-ref, etc, should we count those?

Certainly.

Additional images

Debriefing from image analysis

Code