Functional Problem Solving (CSC 151 2013F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [IRC] [Teaching & Learning] [Grading]
Current: [Assignment] [EBoard] [Lab] [Outline] [Partners] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Partners] [Readings]
Reference: [Setup] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2010F)] [Weinman (2012F)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker (Course)]
Overview
Preliminaries.
Debriefing from previous class.
On 4b, you ask us to summarize what we learn. How much do you want?
It should be pretty obvious why Sam gets frustrated by code like this. A sentence should suffice.
I can't get recursion to work with a named let
(define sum (lambda (lst) (let kernel ([sum-so-far 0] [remaining lst]) (if (null? remaining) sum-so-far (kernel (+ sum-so-far (car remaining)) (cdr remaining))))))
Does that let me change values?
Kind of
Why did you give us my-length?
So that we can count what's really going on, and see why Sam is annoyed.
And is it how length is normally implemented?
Yes
Should we provide the modified my-length?
Yes
Can we use your list for the vector-assoc problem?
Yes
For Problem 5 (Steganography), what is your grading plan?
_Don't we always need at least one lambda?)
No
(define increment (l-s + 1))
Can you clarify due stuff?
If you email me the exam by 10:30 p.m. CT on Monday, 9 December 2013 and hand me a paper copy by 1:15 p.m. on Tuesday, 10 December 2013, you get two more points on the exam. So, if you had 125 points, you now have 127.
If you email me the exam by 10:30 p.m. CT on Tuesday, 10 December 2013 and hand me a paper copy by 1:15 p.m. on Wednesday, 11 Decmeber 2013, you get your normal score on the exam.
If you fail to achieve either of those cases, and you haven't arranged an alternative with me, your grade is likely to be significantly lower.
Question that is so confusing that Sam can't even write it down
Let's talk one on one.
Can we resubmit our electronic version?
It depends on whether I've started grading it or not. Once I've started grading, your copy, you may not give me a new copy.
What should we do if there's another final at the same time as your final?
Talk to me about rescheduling.
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [IRC] [Teaching & Learning] [Grading]
Current: [Assignment] [EBoard] [Lab] [Outline] [Partners] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Partners] [Readings]
Reference: [Setup] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2010F)] [Weinman (2012F)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker (Course)]
Samuel A. Rebelsky, rebelsky@grinnell.edu
Copyright (c) 2007-2013 Janet Davis, Samuel A. Rebelsky, and Jerod Weinman. (Selected materials are copyright by John David Stone or Henry Walker and are used with permission.)

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this
license, visit http://creativecommons.org/licenses/by-nc/3.0/
or send a letter to Creative Commons, 543 Howard Street, 5th Floor,
San Francisco, California, 94105, USA.