6.001 Recitation 9: Quiz 1 Review - PowerPoint PPT Presentation

About This Presentation
Title:

6.001 Recitation 9: Quiz 1 Review

Description:

Daylight Savings Time change: lose 1 hour Sunday morning. Cheat sheets. Oops, 2 are allowed, but more than 1 is probably pointless. Handwritten or printed: either ... – PowerPoint PPT presentation

Number of Views:117
Avg rating:3.0/5.0
Slides: 5
Provided by: dall5
Category:

less

Transcript and Presenter's Notes

Title: 6.001 Recitation 9: Quiz 1 Review


1
6.001 Recitation 9Quiz 1 Review
  • RI Gerald Dalley (dalleyg_at_mit.edu)
  • http//people.csail.mit.edu/dalleyg/6.001/SP2007/
  • 7 Mar 2007

2
Announcements
  • Daylight Savings Time change lose 1 hour Sunday
    morning.
  • Cheat sheets
  • Oops, 2 are allowed, but more than 1 is probably
    pointless
  • Handwritten or printed either is okay
  • Old Quizzes
  • http//web.mit.edu/amdragon/www/6.001-07-sp/quizze
    s.html
  • No recitation on Friday

3
Common procedures you should know and love
(define (length lst) (if (null? lst) 0 (
1 (length (cdr lst)))))(define (map proc lst)
(if (null? lst) '() (cons (proc (car lst))
(map proc (cdr lst)))))(define
(filter pred lst) (cond ((null? lst) '())
((pred (car lst)) (cons (car lst)
(filter pred (cdr lst)))) (else (filter
pred (cdr lst)))))(define (fold-right op init
lst) (if (null? lst) init (op (car lst)
(fold-right op init (cdr lst)))))
4
?eopardy Rules
  • Write your answer on the board
  • Turn around and raise your hand
  • Team consultation allowed
  • Round-robin answering
  • Scoring
  • Correct answer responder gets points
  • Successful challenge challenger gets points,
    responder loses points
  • Failed challenge challenger loses points
  • Wrong answer responder loses points
  • Trick questions are fair game!

Start!
Write a Comment
User Comments (0)
About PowerShow.com