Functional Problem Solving (CSC 151 2015F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] [Remote Access]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2015F)] [Davis (2013F)] [Rebelsky (2015S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Overview
irgb-add using six P's (alone or with partner
or with some other people in class; limit to groups of 3)Can I use two <>'s in section?
Yes, but you probably don't want to do that on problem 1.
owill be a much better strategy.
Where can I go to think about problem 2?
Recent homework (3).
What should our tests look like?
You should come up with a wide variety of examples so that if it passes those examples, you'll be relatively confident that it will work on everything, unless the writer is incredibly malicious.
For example
(check-equal? (minutes (add-times (time 1 40) (time 2 40))) 4)
I think your instructions on rackunit are incorrect.
Probably. We'll look at it.
Can we assume that the parameters are all positive for problem 2?
Yes.
But if you can get it to work with negative numbers, too, that would be really awesome. (Not necessary, but like wicked neat.)
Where do our examples go?
Right after your code, commented out by semicolons. Then copy and paste.
Should we cite our partner on assignment 3?
"Idea taken from problem 110213 on assignment 3, written by my partner and me"
"Sketch the preconditions/postconditions"
Can be more informal than normal preconditions/postconditions.
"Think about other things to test"
Write them out, in informal notation. "I should test what happens when one color is black."