CS151: Principles of CS I

Resources

Software

Classroom resources

Exam Schedule

Exam Number Date Material
13/2/2009Chapters 1 through 4

Homeworks

Homework number Due date Material to read Problems
1 1/30/2009 Chapter 1 All chapter 1 exercises
2 2/9/2009 Chapter 2,3 Exercises 2.72 and 3.6-12, 3.13, 3.20, 3.23, 3.24
3 2/16/2009 Chapter 3 Exercises 3.31 and 3.32
4 3/30/2009 Chapter 7 Exercises 7.29 through 7.34
5 4/6/2009 Chapter 8 All exercises except last one
6 4/15/2009 Chapter 9 9.9-9.11
E.C. (5 pts) 5/4/2009 Chapter 11 11.69-11.72
E.C. (8 pts) 4/8/2009 before exam Chapter 12 Starting with the Notebook class from Chapter 4:
Add the method
save()
which saves the notes in the notebook to a file named
notes.txt
and a method named
load()
which loads the notes from that file (throw away any existing notes in the notebook when loading from the file). Test your load and save using BlueJ to create your Notebook and add notes to it.

Projects

Project number Type Point value Due date Description
1 Individual 15 2/20/2009 Textbook problems 4.36-40
2 Pair (group of 2) 20 each 3/13/2009 Game as described in class
3 Individual 30 4/3/2009 ZuulProject.pdf
4 Individual 30 5/4/2009 Exercises 11.73-74. More Zuul, sorry :-)

Labs

Lab number Week of Lab
1 1/26/2009 Lab1.zip
2 2/2/2009 Lab2.zip
3 2/16/2009 Textbook problems 4.25-27
4 2/23/2009 Textbook problems 4.54-4.59
5 3/2/2009 Textbook problems 5.47-5.56
6 3/9/2009 Work on project 2
7 3/23/2009 Exercises 7.22 through 7.25. Be sure to start with zuul-better!!!!
It has most of the changes that we went through in class.
3/30/2009 No lab this week!
8 4/6/2009 Using the DoME classes as an example, create a database for
storing print materials (books, magazines, newspapers etc).
You must use inheritance, just as it used in the final version
of DoME included in that chapter. Each of these items should
include information appropriate to the type of print material.
All of them should include a title, publisher and page count.
Newspapers and magazines should include a date, books should
include an ISBN number and author. Your database should be
able to list all of the materials by their title (or toString()).
9 4/13/2009 9.1-9.8
10 4/20/2009 11.1-11.10
11 4/27/2009 11.64-68

Project types (see syllabus for detailed descriptions)

Individual project: Absolutely no cooperation with classmates, no assistance from tutors or any outside sources.

Open project: You may cooperate as much as you like with classmates and seek some outside assistance if you need it (such as from a tutor).

Group project: You may with within your group no cooperation is permitted between groups or with outside resources.


Page maintained by:

David Shaffer
cdshaffer@acm.org
Shaffer consulting
Last modified: Mon Sep 19 08:59:47 EDT 2005