Homework Grading Criteria
20 points (Satisfies all requirements - a job well done):
16 points (Meets general requirements with a few minor problems):
12 points (Serious problems):
8 points (Extremely serious problems but demonstrates some effort and understanding):
4 points (Shows little effort and does not represent passing work):
Homework Assigments
Assignment 1. Due Wednesday, January 13, 2:00 P.M.
-
Since not everyone has the book, look here
if you need the code.
2. Once it runs, edit the comment block to contain the information described
in class.
3. Submit using submit procedure.
Assignment 2. Due Friday, January 15, 2:00 P.M.
Assignment 3. Due Friday, January 29, 2:00 P.M.
-
1. Page 142, Programming Project #8.
Assignment 4. Due Friday , February 5, 2:00 P.M.
-
Chapter 4, Programming Project #6, p205.
Assignment 5. Due Friday , February 12, 2:00 P.M.
-
Chapter 5, Programming Project #2, p269.
Assignment 6. Due Friday, February 19, 2:00 P.M.
-
Chapter 6, Programming Project #8, p. 322.
Assignment 7. Due Friday, March 5, 1999 2:00 P.M.
-
Chapter 8, Programming Project #13, p. 422
To help with this assignment,
and if you unfamiliar with The Game of Life,
you may want to play with a simulation.
here;s an example:
Bill Kendrick's Game of Life Simulation
Additional Program Requirements:
Your grid should be of size 25 by 25. Using #define create
constant
macros for:
Alive character: '*'
Dead character: '.'
Input file name:
"/afs/cats.ucsc.edu/class/cmps012a.w99/hw7/initial"
After each generation is displayed your program should pause and wait
for
the user to press return before it prints the next generation. It should
also print the generation number at the top of each displayed grid, the
initial configuration being generation 0. Your program should go at
least
as far as generation 50. A border around the grid display is optional.
Test your program on the following initial array:
Generation 0
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........**********.......
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........**********.......
.........................
.........................
.........................
.........................
.........................
.........................
.........................
After 24 generations this should appear as:
Generation 24
.........................
.........................
.........................
.........................
.........................
.........................
.........................
........**********.......
.......************......
......**..*....*..**.....
.....***..........***....
.....***..........***....
.....***..........***....
.....***..........***....
.....***..........***....
.....***..........***....
......**..*....*..**.....
.......************......
........**********.......
.........................
.........................
.........................
.........................
.........................
.........................
Last
modified: Wed Jan 20 2:00:48 PST 1999