CSC151.02 2016S, Class 04: Computing with Symbols and Numbers
=============================================================

* Continue partners (and computers) from Wednesday!

_Overview_

* Preliminaries.
    * Admin.
    * Upcoming Work.
    * Extra Credit.
    * Questions.
* Quiz.
* Lab.
* Debrief.

Preliminaries
-------------

### Admin

* Office hours: MTWF 10-11, Tu 1-2.
    * Sign up at <http://rebelsky.youcanbook.me>.
    * Also feel free to stop by when my door is open.
    * Or to email me for an appointment.
* Tutor hours
    * Sunday, 3-5 p.m.
    * Sunday-Thursday, 7-10 p.m.
* Weekly review sessions:
    * Wednesday at 8pm in the CS Commons with Zacharcy
    * Thursday at 10am in this room with SamR
    * Thursday at 8pm in the CS Commons with Kumar
* Friday PSA.

### Upcoming Work:

* Readings for Monday:
    * [Design and Color](../readings/design-and-color-reading.html)
    * [RGB Colors](../readings/rgb-early-reading.html)
* [Assignment 2](../assignments/assignment.02.html) due next Tuesday
  at 10:30 p.m.
* Lab Writeup: Exercise 2, parts d, e, and f.
    * Send email titled __CSC 151 Lab Writeup 4 (Your Names)__.
    * Do not include the underscores.
    * Send the email to  <CSC151-02-grader@grinnell.edu>.
    * Due before class on Tueday.

### Extra Credit

#### Academic

* CS Table, Tuesday, Noon, White PDR: Facebook's Walled Internet.
  (Readings available Monday)
* Community Conversations on Race, 7:30 p.m., Tuesday, February 2, 
  Lazier 3rd Floor Lounge

#### Peer

* Track and Field at Cornell this Saturday.
* Swimming at Macalester this Saturday.

#### Future

* Track and Field Grinnell Invite February 6.
* Swimming February 6 vs. UN and IAState.

#### Miscellaneous

* Caucus on Monday night.  (Or observe a Caucus on Monday night.)

### Questions

_Help!  I don't understand `modulo`._

> That's okay, we'll just use `remainder`.

_Help!  I don't understand `remainder`._

> That's what today's lab is.

_What problem will we write up today?_

> I'll let you know with ten minutes to go.

_What do we submit?_

> Your answer to the given problem.

_Why do we have quizzes?  Is it just because you are sadistic?_

* A self check for students to see if they have learned the appropriate
  material.
* Strong educational research evidence that students retain the material
  they do in low-stakes testing situations, in part because it encourages
  more study/memorization.
* Provides an opportunity to do work by yourself and not just with teams.
* Makes attendance easier.
* Lets Sam know how you are doing.

_Do we submit one homework assignment or two?_

> Just one!

_What if we don't agree on an answer?

> Submit both!

_Do we submit one lab writeup or two?_

> One, if you complete it together in class.

> One, if you complete it together outside of class.

> Two, if you complete it separately outside of class.

Quiz
----

Ten minutes.

When you are done, flip over your quiz.  You may then read on your cell
phone or laptop, or just meditate.

When both you and your partner are done, you may begin the lab.

Lab
---

ZS says: Rational numbers are numbers that can be expressed as the ratio 
of two integers.

SR says: Assume that all real numbers are rational, even though that
assumption seems irrational.

_How should we keep track of what we've done?_

> Write it down in a notebook.

> Copy and paste into an email message (to you and your partner).

> Copy and paste into the definitions pane.  Select what you've pasted.
  Choose "Comment out with Semicolons" from under the Racket menu.

_What is the lab writeup?_

> Exercise 2 parts d, e, and f.

> Send the email to  <CSC151-02-grader@grinnell.edu>.

> For d and f, explain the value of `bounded-val` based on `val` (and
  maybe `lower` and `upper`).
