Warning! You are being recorded (and transcribed) (provided the technology is working correctly).
Today’s start-of-class procedure
Note: If you need to sit in a particular area of the classroom, let me know and we’ll work things out in the future.
Approximate overview
csc151
library (which you’ll learn about in lab today) is
updated regularly. Each time you sit down to work, you should try to
update the version you have. The lab will tell you how.
Scholarly
Artistic
Multicultural
Peer
Musical, theatric, sporting, and academic events involving this section’s students are welcome.
Wellness
Misc
These do not earn tokens, but are worth your consideration.
I have answered questions for all the reading responses that came in by 8:00 p.m. If you have another question and want it answered now, please ask.
How do I record tokens?
Does Racket have any real-world or industry applications, or is it mainly just designed as a teaching tool?
A variant of Racket was used to both the first version of Yahoo Stores. There are a few niche software development studios that use Racket. But DrRacket is mostly for teaching. Walmart uses Clojure (a more robust Scheme-like language) for sales and inventory management.
Is DrRacket related to DrJava?
Yes.
How do I run Linux on my computer?
You shouldn’t need to run Linux on your computer.
You can run DrRacket on your computer. (Instructions are in the syllabus).
You can also log into MathLAN remotely, but it’s a bit complicated.
https://mathlan.sites.grinnell.edu/fastx/2022/06/08/MathLAN-Remote-Access/.
What is a trivial expression?
One that does not involve any operations. Trival expressions include numbers and strings.
What are values?
The numbers and other things we use in our computations.
What is a basic value?
A value that does not itself contain other values. That may sound werid, but Scheme has things like lists, which contain, well, lists of values.
In the readings, it mentioned that DrRacket and also Scamper had modifications and features designed for beginners. what are these features specifically?
Scamper provides a feature that lets you “trace” how a Scheme expression is evaluated.
DrRacket tries to provide novice-friendly feedback about errors.
Could you clarify what a delimiter is in the string-split
procedure?
"Foo,Bar,Baz|Qux,Quux"
The delimiter is the character (or sequence of characters) we use to identify where to split strings. We might split on commas or spaces or ….
What are last set of number inputs when using procedures like outlined-circle
?
(outlined-circle 100 "blue" 10)
For an outlined circle, the last set of numbers give the thickness of the outline.
What details are important to keep in mind and not ignore when working with scheme? like order and rules?
Use parentheses to indicate “this is an expression to be evaluated”.
Put the operation immediately after the open parentheses.
Keep track of what kinds parameters (inputs) each procedure has. Do they expect numbers, strings (words surrounded by quotation marks), images, …?
How much time has ellapsed?
25 minutes. I planned fifteen. Whoops.
How could we have made the putting people in groups process more efficient? (Think, Pair, Share)
Pre-identify locations in the classroom. “All the 4’s go to the appropriate location.”
A leader could ask people with each value to raise their hands.
Show cards in a different way.
What might you have learned from the sandwich activity? (TPS)
Be detailed. Be specific.
Don’t expect computers (or others) to have the same world view that we do or to know what we know.
People have different ideas, it can be hard to combine them.
People have different ideas, listen to others’ ideas.
Learn what the recipient of your instructions already knows.