Archive for August, 2010

links for 2010-08-30

August 31, 2010
  • <blockquote>
    <p>
    Many education researchers believe that different people learn differently, and have tried to understand and classify different learning styles [3]. One of the categorized types was that of a Visual Learner, who prefers "pictures, diagrams, or flow charts" [4]. There is a building momentum for creating material (images, animations, interactive displays) for use in science and engineering education [5]. The goal of this project is to join this wave of educators and create compelling and informative visual imagery to facilitate teaching lower- and upper-division computer science.
    </p><p>
    Ketrina Yim is a rare find–a student with an extremely strong computer science record and a love of illustration with educational interests. On her own volition, she penned several "tutorial sheets" for her fellow students learning Scheme in CS61A (Figures 1 and 2).
    </p>
    </blockquote>
  • <pre>
    (define (accumulate op initial sequence)
    (if (null? sequence)
    initial
    (op (car sequence)
    (accumulate op initial (cdr sequence)))))
    (accumulate + 0 (list 1 2 3 4 5))
    15
    (accumulate * 1 (list 1 2 3 4 5))
    120
    (accumulate cons nil (list 1 2 3 4 5))
    (1 2 3 4 5)

    (define (enumerate-tree tree)
    (cond ((null? tree) nil)
    ((not (pair? tree)) (list tree))
    (else (append (enumerate-tree (car tree))
    (enumerate-tree (cdr tree))))))
    (enumerate-tree (list 1 (list 2 (list 3 4)) 5))
    (1 2 3 4 5)

    (define (sum-odd-squares tree)
    (accumulate +
    0
    (map square
    (filter odd?
    (enumerate-tree tree)))))
    </pre>

links for 2010-08-20

August 21, 2010

links for 2010-08-18

August 19, 2010

links for 2010-08-14

August 15, 2010

links for 2010-08-13

August 14, 2010

links for 2010-08-12

August 13, 2010

links for 2010-08-11

August 12, 2010

links for 2010-08-10

August 11, 2010

links for 2010-08-09

August 10, 2010

links for 2010-08-08

August 9, 2010