Skip to main content

CSC 151.03, Class 15: Displaying data

Overview

  • Preliminaries
    • Notes and news
    • Upcoming work
    • Extra credit
    • Questions
  • Lab
  • Debrief (?)

News / Etc.

  • New partners. Today’s partners are your homework partners.
  • Please make sure to return your computer cards to the jar.
  • A number of you had questions for me Monday afternoon and Tuesday that were also clearly questions on Monday morning. Please ask those questions in class. You were not alone in having issues.
  • When you send me email about homework assignments, please carbon-copy your partner.
  • I am discontinuing the flash card assignments. I have not had time to check them over. Those who have done them for the first four weeks will receive a modicum of extra credit.
  • http://pioneers.grinnell.edu/news/2017/9/24/pioneer-womens-soccer-team-finishes-perfect-weekend-with-win-over-lake-forest.aspx
  • Quiz topics
    • Conditionals
    • Displaying data
    • Documentation, revisited

Upcoming Work

Extra credit (Academic/Artistic)

  • Convocation, Thursday: Wilson Okello on “Living in the Wake of Crisis”
  • CS Table, Tuesday: Tapia.
  • CS Extras, Thursday week: ???
  • Google on Tech interviews today at 4:00 p.m. in 3821.

Extra credit (Peer)

  • Women’s soccer at 4:30 p.m.

Extra Credit (Misc)

None at the moment.

Other Good Things

  • GHS Homecoming - Downtown on Thursday at 4pmish.
  • Volleyball at 7:00 p.m.

Questions

What happens to the five percent of our grade that was previously allocated to flash cards?
It will move elsewhere.
What should I do when Firefox stops working?
Option 1: Open a terminal window. Type stop-firefox. Enter your password when prompted.
Option 2: Open a terminal window. Type /home/rebelsky/bin/magic-incantation. Cross your fingers.
Option 3: Ask me to explain the details.
Wow! It’s so awesome that linux is designed so that you can make your programs available to other people!!
I agree.
Do we have to meet with you if we get an extension?
It’s a good idea.

Lab

What symbols are available?

      'dot               'point            'pixel
      'plus              'times            'asterisk
      '5asterisk         'odot             'oplus
      'otimes            'oasterisk        'o5asterisk
      'circle            'square           'diamond
      'triangle          'fullcircle       'fullsquare
      'fulldiamond       'fulltriangle     'triangleup
      'triangledown      'triangleleft     'triangleright
      'fulltriangleup    'fulltriangledown 'fulltriangleleft
      'fulltriangleright 'rightarrow       'leftarrow
      'uparrow           'downarrow        '4star
      '5star             '6star            '7star
      '8star             'full4star        'full5star
      'full6star         'full7star        'full8star
      'circle1           'circle2          'circle3
      'circle4           'circle5          'circle6
      'circle7           'circle8          'bullet
      'fullcircle1       'fullcircle2      'fullcircle3
      'fullcircle4       'fullcircle5      'fullcircle6
      'fullcircle7       'fullcircle8)

Debrief

(define ll
  (lambda (entry)
    (list (cadr entry)
          (caddr entry))))

(define pt
  (lambda (entry)
    (list (caddr entry) (cadr entry))))

; (plot (points (map ll (filter useful-entry? zips))))

; (plot (points (map pt (filter useful-entry? zips))))

;(plot (points (map pt (filter useful-entry? zips))
;              #:x-min -150
;              #:x-max -50))
;(plot (list
;       (points (map pt (filter useful-entry? zips))
;               #:x-min -150
;               #:x-max 0)
;       (points (map pt (filter useful-entry? zips3))
;               #:sym 'fullcircle6
;               #:fill-color "red")))