CS 161: Computer Science I

Syllabus

You can download the syllabus here. The syllabus includes information on grading, course goals, and policies I will use in teaching this course.

Text

Eck Text McFadyen Text Horstmann Text

You have a choice of textbooks:

Finally, my JOI textbook can be found here. (You will need the password, and it is a work in progress.)

Other Resources

Additional resources will be placed here.

Homework

Specific assignments are given below. Please note that homeworks are very important, and make up a very large portion of your grade. If you fall behind, you will likely do poorly on the exams as well. Homework should follow the specifications given here.

Homeworks can be turned in here.

Exam Grades

The exam distributions will be placed here, after they are graded.

Class Schedule

This is a problable schedule for the class. I may change it depending on how the class progresses. We will start by talking about basic data structure and control, and from there move into more complicated object-oriented programs.
Lab Lab Date Homework HW Due Date Files McFadyen
Readings
Horstmann
Readings
1 Hello World Aug. 31 Basic Math Sep. 4 Ch. 1, 2.1-2.4 Ch. 1, 2.1-2.2
2 Conversation Sep. 7 Strings Sep. 10 2.5-2.7
(skip JOptionPane)
2.3-2.5
3 If Math Sep. 14 Calculator Sep. 17 3.1-3.3 Ch. 3
4 Loop Lab Sep. 21 Loop Math Sep. 25 3.4-3.6, Ch. 4 Ch. 4, 5
Yom Kippur (יום כפור)
Midterm I: Thursday, September 28
5 Partners Oct. 5 Business Oct. 8 Ch. 5-6 6.1-6.4
6 Selection Sort Oct. 12 Bubble Sort Oct. 17 Wikipedia bubble sort
& selection sort
skim 14.1-14.3
Fall Break!
7 Rabbits & Foxes Oct. 19 Sieve of Eratosthenes Oct. 22 6.5-6.8
8 Vector Object Oct. 26 Fraction Object Oct. 29 Vector.java (docs)
TestVectors.java
Fraction.java (docs)
TestFractions.java
Ch. 7 Ch. 8
Midterm II: Thursday, November 2
9 Card Object Nov. 9 CardSet Object Nov. 12 TestCards.java
10 Pretty Pictures Nov. 16 Fantasy Game Nov. 19 GraphicsWindow.java (docs)
terrain.png
wizard.png
Thanksgiving!
11 Chess Problems Nov. 29 setup.cp
problem1.cp
chess-pieces.png
Ch. 7
12 Checkers Nov. 30 Card Shuffling Dec. 6 cards.png
Final Exam: Friday, December 15 (8am)