PIC 10B
(Sec. 1a-1b)
C++ Programming and Problem Solving
Instructor: Ivo Dinov,
Asst. Prof.
Neurology, Mathematics, Statistics
http://www.math.ucla.edu/~dinov/10b.1.011/
HOMEWORK 2 - GRADE MAPPING/DESCRIPTION
Due Date:
Monday, 8:00 PM, July 09, 2001
PIC10B Homework 2 Point Breakdown:
Code:
- proper header.....................required to receive credit
- comments/coding style.............10
- class definition..................20 (int array[3][3])
- member fns/modular code...........10 (ctor init to 0)
- main instanciates class object....10
Trial Runs:
- status quo output.................10
- cannot move to occupied square....10
- Q/X to quit, Y/N to play again....10
- game plays correctly..............10
- game win and draw work............10
- infinite loop....................-10
Total points possible...............100
\Ivo D. Dinov, Ph.D., Department of Neurology and Program in Computing, UCLA School of Medicine/