CS 202 Fall 2013 > Assignment 1 |
CS 202 Fall 2013
Assignment 1
Assignment 1 is due at 2 p.m. Wednesday, September 18 Friday, September 20. It is worth 30 points.
Procedures
Complete each of the exercises below. Then turn in your work as follows.
- Run Check. Demonstrate the programs you have written for the exercises below to either the instructor (Glenn G. Chappell) or the T.A. (Zak Williams). Get official approval.
- Submission. Submit your code using Blackboard, under Assignment 1 for this class. You should only submit code that has already passed the Run Check. Be sure you attach your source/header files; do not paste them into the text box. Also, send only source & headers; no project files or executables.
We may not look at your homework submission immediately. If you have questions, e-mail me.
Exercises (30 pts total)
Do each of the following exercises.
- From the Chapter 9 Programming Challenges (p. 537),
do exercise 5.
- From the Chapter 13 Programming Challenges (p. 791),
do exercise 1.
- Note: You will need to have some way to set the values
of the member variables.
You can do this however you want,
but do not make any of the member variables
public
.
- Note: You will need to have some way to set the values
of the member variables.
You can do this however you want,
but do not make any of the member variables
- From the Chapter 13 Programming Challenges (p. 791),
do exercise 4.
- Implement your class in separate source & header files. Thus, you will need to turn in three files for this exercise: the header and source for the class, and the source for your driver program.
- From the Chapter 13 Programming Challenges (p. 791),
do exercise 8.
- Implement your class in separate source & header files, as in the previous exercise.
- From the Chapter 13 Programming Challenges (p. 791),
do exercise 3.
- Once again, implement your class in separate source & header files.
CS 202 Fall 2013: Assignment 1 /
Updated: 12 Sep 2013 /
Glenn G. Chappell