Computer Science 2010 Assignments


[Home]

Reading Assignments

8/27 Read The Racket Guide, Chapters 1 and 2, experimenting with Dr. Racket as you go along. (If you are joining the class late, please do this assignment as soon as you can!) Also, you will find the numbers section of the Racket guide useful for hw0.
8/27 Optional readings:
  • Programming and Meta-Programming in Scheme,
  • Programming in Scheme Learn Scheme Through Artificial Intelligence Programs,
  • The scheme programming language (online copy). Physical copy in SML.
  • Programming in Scheme (online copy)
  • How To Design Programs (online copy). (buy from Amazon) An introduction to programming using Racket written by the inventors of racket. It assumes no programming background.
  • On Lisp, Paul Graham. A terrific book that is the core of Graham's Ph.D. thesis at Harvard. Graham has quite a resume, including founding Y Combinator. He has a web site (https://www.paulgraham.com/) with many very readable essays, including how to get rich.

  • Problem Sets

    Provisional Homework Dates
    AssignmentAssignedDue
    hw08/279/11
    hw19/39/17
    hw29/159/25
    hw39/2210/8
    hw410/610/20
    hw510/2010/29
    hw610/2711/10
    hw711/712/3
    hw811/2112/10

    8/27 Homework #0: hw0.rkt. It is due online via gradescope at 11:59 Wednesday, September 10th. It is also available in /c/cs201/hws/hw0.rkt from your Zoo account. A compiled staff solution is available as well in that directory as hw0_rkt.zo. Information on using the Zoo machines: Zoo tutorial. The CS 201 youtube channel includes hw0 videos that walk you through setting up racket, getting started in DrRacket, tackling hw0, and submitting files on the zoo. However, we are using gradescope for submitting homeworks, so you can ignore the zoo submit process.

    In addition, complete the online canvas hw0 collaboration quiz on academic honesty and collaboration policy. It counts for 10 points.

    9/3 Homework #1: hw1.rkt. It is due online via gradescope at 11:59 Wednesday, September 17th. (It is also available in /c/cs201/hws/hw1.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw1_rkt.zo. The CS 201 youtube channel includes hw1 videos that walk you through hw1, including lists, list recursion, binary and hexadecimal numbers, optional arguments, lambda functions, power set and factoring.
    9/15 Homework #2: hw2.rkt. It is due online via gradescope at 11:59 Wednesday, September 24th. (It is also available in /c/cs201/hws/hw2.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw2_rkt.zo. The CS 201 youtube channel includes hw2 videos that discuss tree recursion.
    9/22 Homework #3: hw3.rkt. It is due online via gradescope at 11:59 Wednesday October 8th. (It is also available in /c/cs201/hws/hw3.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw3_rkt.zo. Note: the solution does not include answers to the Turing Machines you are asked to write, such as tm-sort or tm-reverse. The CS 201 youtube channel includes hw3 videos that discuss Turing Machines.
    10/6 Homework #4: hw4.rkt. It is due online via gradescope, at 11:59 Monday, October 20th. (It is also available in /c/cs201/hws/hw4.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw4_rkt.zo. The CS 201 youtube channel includes hw4 videos
    10/20 Homework #5: hw5.rkt. It is due online via gradescope, at 11:59 Wednesday, October 29th. (It is also available in /c/cs201/hws/hw5.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw5_rkt.zo. See https://docs.racket-lang.org/reference/hashtables.html for a discussion of hash tables in racket. The CS 201 youtube channel includes hw5 videos

    [Home]