This class will be recorded! Its use is limited to members of the class. Please do not share with others.
Approximate overview
Events
I’m not sure if all of these links are correct. Let me know if any are not.
Sam’s colleague: “These are really awesome.”
Sam: “‘eh; they need work.”
Things you might work on:
(save-image (beside (my-analysis "file1.txt") (my-analysis "file2.tx")) "analysis.png")Can you still write quizzes for us so that we can practice?
Sure.
Can I ask two questions?
You can even ask three.
Will the quizzes count toward or against our grade?
Nope, not in any way. You could have failed them all. You could have aced them all. No effect.
Will you grade the quizzes or provide answers?
Maybe
Do we have to do the insanely long analysis of recursive procedures on the mini project?
No.
But it’s good practice.
How do we write tests for procedures that produce images?
You don’t. Test some other aspect of the work.
Can we have seven mini-projects?
No, six is enough.
If we want to test images, can we try to do so?
Sure, if the images are simple. “Represent my text by a black circle whose radius is the number of times the word ‘Sam’ appears in a string.”
(test-equal? "never"
(analyze "")
(circle 0 'solid 'black))
(test-equal? "sometimes'
(analyze "sam sometimes says that sam refers to samsself in the third person")
(circle 3 'solid 'black))
SAM: Don’t forget to post the lab to Gradescope!