Computer Science 201 Assignments


[Home]

Reading Assignments

8/28 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/28 Optional readings:
  • Programming and Meta-Programming in Scheme,
  • Programming in Scheme Learn Scheme Through Artificial Intelligence Programs,
  • The scheme programming language (online copy) limited preview. 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.

  • Problem Sets

    8/28 Homework #0: hw0.rkt. It is due online via gradescope at 11:59 Wednesday, September 11th. 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/4 Homework #1: hw1.rkt. It is due online via gradescope at 11:59 Wednesday, September 18th. (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/16 Homework #2: hw2.rkt. It is due online via gradescope at 11:59 Wednesday, September 25th. (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/23 Homework #3: hw3.rkt. It is due online via gradescope at 11:59 Wednesday October 2nd. Extension for hw3 to Wednesday October 9th. (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/7 Homework #4: hw4.rkt. It is due online via gradescope, at 11:59 Monday, October 21st. (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/21 Homework #5: hw5.rkt. It is due online via gradescope, at 11:59 Wednesday, October 30th. (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
    10/28 Homework #6: hw6.rkt. It is due online via gradescope, at 11:59 Monday, November 11th. (It is also available in /c/cs201/hws/hw6.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw6_rkt.zo. The CS 201 youtube channel includes hw6 videos
    Extension for hw6 to Monday, November 18th.
    11/8 Homework #7: hw7.rkt. It is due online via gradescope, at 11:59 Wednesday, December 4th. (It is also available in /c/cs201/hws/hw7.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw7_rkt.zo. The CS 201 youtube channel includes hw7 videos
    11/22 Homework #8: hw8.rkt. This is an optional assignment. It can replace a lower homework grade. It is due online via gradescope. at 11:59 Wednesday December 11th (It is also available in /c/cs201/hws/hw8.rkt from your Zoo account.) A compiled staff solution is available as well in that directory as hw8_rkt.zo, not including the experiments. Note: hw8 does NOT inlcude test cases. You need to write your own. Just like in real life.

    [Home]