Functional Problem Solving (CSC 151 2016S) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [Remote] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2016S)] [Davis (2013F)] [Rebelsky (2015F)] [Weinman (2014F)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Overview
I'm having trouble with postconditions for rac and rcd.
For
rdc, you can talk about the length of the list and the value at each position.For
rac, you can probably rely onlist-refto clarify the
postcondition.
Can we use position-distance in solving the stenciled circle problem?
Yes.
Can we text you with questions tonight?
Yes. But before 10 p.m. (You can email after 10 p.m.; the odds are that I'll still be awake.)
Are there positive aspects to your failure to grade exam 2 in a timely fashion?
Yes. I am much less likely to take off for formatting and insufficient examples on exam 3.
What should index-of-substring return if there are multiple matching positions?
Any of those positions (usually the first).
Any hints on finding the errors?
Be thorough. If it were me, I'd try more substring sizes and more substring positions. And think about edge cases.
Is banana a subtring of banana?
Yes.
What is (rac (list 5))?
5
What is (rdc (list 5))?
nullor'()
What do I use as the type for a list that can contain any type of value?
"list" or "heterogeneous list"
I have this fantasy that you give partial credit. How do you determine how much partial credit we receive? In particular, should I transcribe my scratch paper?
No work implies no partial credit.
Seeing your work helps me give partial credit. (Put in comments about your thought process, and commented out failed attempts with notes about what you learned.)
I forgot about the letter between O and Q during break. For "Produces", what do I give?
Typically, the name and the type. You explain further in the postconditions.
Can strings and substrings have spaces?
Yes. Good thinking about edge cases.
Writeup: 1b
Writeup: Exercise 3