CMPU-101 Assignments Spring 2013

Homework 8

  • Due May 3rd, by 8 pm.
  • Last phase of worm game. Adding food to the simulation to allow the worm to grow.
  • Make a subdirectory inside your hw directory for homework 8 called hw8, download hw8.rkt into your hw8 directory by right-clicking the link and navigating to the hw8 subdirectory. Download the following file into your hw8 subdirectory: hw8.rkt. A text version of this file can be viewed in a browser here (hw8.txt). Open the hw8.rkt file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw8 hw8. (The hw8.rkt and hw8.txt files were most recently posted on 4/26/13, at 5:36 pm)
  • Use the design recipe when writing your program. This means you should include a contract, header, and purpose for each function. Also, write comments for any function that has cond clauses and, in general, for any function that could use some explanation. Put your name on the top of your program.

Homework 7

  • Due April 19th, by 8 pm.
  • Phase 1 of worm game. Directing the worm around the board and keeping it from running into walls. Stop simulation when worm hits wall.
  • Make a subdirectory inside your hw directory for homework 7 called hw7, download hw7.rkt into your hw7 directory by right-clicking the link and navigating to the hw7 subdirectory. Download the following file into your hw7 subdirectory: hw7.rkt. A text version of this file can be viewed in a browser here (hw7.txt). Open the hw7.rkt file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw7 hw7. (The hw7.rkt and hw7.txt files were most recently posted on 4/19/13, at 10:12 am)

Homework 6

  • Due April 12th, by 8 pm.
  • Creating a game board for a simulation and animating an image on the board.
  • Make a subdirectory inside your hw directory for homework 6 called hw6, download hw6.rkt into your hw6 directory by right-clicking the link and navigating to the hw6 subdirectory. Download the following file into your hw6 subdirectory: hw6.rkt. A text version of this file can be viewed in a browser here (hw6.txt). Open the hw6.rkt file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw6 hw6. (The hw6.rkt and hw6.txt files were most recently posted on 4/8/13, at 9 pm)

Homework 5

  • Due April 3rd, by 8 pm.
  • Writing interactive program that reads user responses from the keyboard.
  • Make a subdirectory inside your hw directory for homework 5 called hw5, download hw5.rkt into your hw5 directory by right-clicking the link and navigating to the hw5 subdirectory. Download the following file into your hw5 subdirectory: hw5.rkt. A text version of this file can be viewed in a browser here (hw5.txt). Open the hw5.rkt file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw5 hw5.
    Grading Criteria for Homework 5

Homework 4

  • Due no later than March 8th, by 8 pm.
  • Writing recursive functions that consume and produce lists.
  • Make a subdirectory inside your hw directory for homework 4 called hw4, download hw4.rkt into your hw4 directory by right-clicking the link and navigating to the hw4 subdirectory. Download the following file into your hw4 subdirectory: hw4.rkt. A text version of this file can be viewed here (hw4.txt). Open the hw4.rkt file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw4 hw4.
    Grading Criteria for Homework 4

Homework 3

  • (posted Feb. 8th, due Feb. 20th by 8 pm)
    • Writing recursive functions and accumulator functions.
    • Make a subdirectory inside your hw directory for homework 3 called hw3, download hw3.rkt into your hw3 directory by right-clicking the link and navigating to the hw3 subdirectory. Download the following file(s) into your hw3 subdirectory: hw3.rkt ( text version hw3.txt). Open this file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw3 hw3.
      Grading Criteria for Homework 3

Homework 2

  • (posted Feb. 5th, due Feb. 13th by 8 pm)
    • Writing functions following the design recipe.
    • Make a subdirectory inside your hw directory for homework 2 called hw2, download hw2.rkt into your hw2 directory by right-clicking the link and navigating to the hw2 subdirectory. Download the following file(s) into your hw2 subdirectory: hw2.rkt ( text version hw2.txt). Open this file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished by navigating (on a terminal screen) to your hw directory and typing submit101 hw2 hw2 .
      Grading Criteria for Homework 2

Homework 1

Solutions available
  • (posted Jan 29th, due Feb. 6th by 8 pm)
    • Writing arithmetic expressions and using the display, printf, and newline functions.
    • Click on the hw1inst.txt link to see directions for this assignment in your browser. After you have made a directory for all your homework called hw and a subdirectory for homework1 called hw1, download hw1.rkt into your hw1 directory by right-clicking the link and navigating to the hw1 directory. Download the following file into your hw1 directory: hw1.rkt ( text version hw1.txt). Open this file from inside DrRacket. Follow the directions inside the file to complete the assignment. Be sure to save the file periodically and then electronically submit it when you are finished using the instructions in the file hw1inst.txt.
      Grading Criteria for Homework 1
courses/cs101-201301/assigns/top.txt · Last modified: 2013/04/30 11:37 by walter
VCCS Top Events Extended Site Search Login Vassar Science Web Vassar Home Driven by DokuWiki Valid XHTML 1.0