Skip to main content

CSC 151.01, Class 36: Randomized (Unpredictable) Drawing

Overview

  • Preliminaries
    • Notes and news
    • Upcoming work
    • Extra credit
    • Questions
  • Quiz
  • Lab

News / Etc.

  • Continue partners
  • Snacks!
    • Barbie - 1
    • Batman and Superman - 3
    • General Fruit Themes - 4
    • Hot Wheels - 0
    • Juicy Juice - 4
    • Mario Kart - 3
    • Monopoly - 4
    • Monster High - 0
    • Blaze and Monster Machines - 2
    • Paw Patrol - 1
    • Power Rangers - 0
    • Shopkins - 1

Upcoming Work

  • Lab writeup: [None!]
  • Homework 7 is ready.
    • You can choose your own partners and work in groups of size 1, 2, or 3.
    • Does anyone need a partner? (We have a student ill today who would like to work with a group.)
  • Reading for Monday : Pairs and pair structures

Extra credit (Academic/Artistic)

  • BAX reception today. (Or BAX at any time.)
  • The Barber of Seville, Monday, 17 April 2017, 7:30 p.m., Herrick. 1pm

    Extra credit (Peer)

  • Baseball games Saturday at 1pm and 3:30 pm vs. Monmouth.
  • Track and Field Saturday at Cornell at 11 am.
  • Listen to the sound at the Friday Gardner concerts at 8-10pm.
  • Be amazed at the trumpet playing at Disco Harris on Saturday. at 10pm.
  • Singers concert Saturday at 2pm in Sebring Lewis.
  • Green living, Saturday, 1-4pm, Summer Street Park.
  • Watch Pioneer weekend pitches. 1pm on Sunday.
  • Submit to (or attend) the Art House Arts Fest on April 22nd. They want visual art, performance art, musical talent, crafting skills, culinary arts etc. If anyone is interested in participating they can email our Art House member.

Extra credit (Misc)

  • Krumm Prairie burn Friday night.

And as the flames climbed high into the night
to light the restorative rite
I saw A.T. laughing with delight
The day the prairie burned

With apologies to Don McLean

Other good things to do

  • Women’s Tennis Saturday at 10:00 am

Friday PSA

  • Enjoy the many events this weekend
  • Make your own decisions
  • Plan
  • Take care of yourselves and those around you
  • Be moderate

Questions

What should everyone in the class say to the Narrator?
Thank you

Quiz

  • Done

Lab

When you see “Rolling rolling rolling”, what words come to mind as
appearing next?
“Rawhide!”
“on the river”
Problem 1 is really hard. I don’t think I’ll get to problem 4. Do
we need a writeup?
Now you know why some folks consider impure procedures problematic
Optional writeup! (This will overwrite one for which you got a zero.)
How do we resolve the issue in problem 1?
Option 1: (let [(my-roll (pair-a-dice))] ...)
Option 2: (let ([successful? (lambda (val) (or (= 7 val) (= 11 val)))])
Option 3: ….