CIS 201: Computer Science I (Lecture and Lab) – Spring 2008


Computer Science I

Section 001 Lecture and Section 002 Lab

  • Instructor: Dwight Tuinstra, Computer Science

  • Office: Dunn 307

  • Voice: 267-2056

  • E-mail: tuinstd AT potsdam DOT edu

  • Office Hours: If I'm not in my office during the listed hours, check the lab (Dunn 358). Other hours by appointment or chance.

Monday 1:30 - 4:00

Tuesday 1:30 - 4:00

Thursday 1:30 - 4:00



Week

Dates

Topic

Lecture

Reading and
Self-check

Lab

CodeLab

Programming Assignment

16

05/12 – 05/16

FINALS WEEK

Final Exam (pdf)

Final Exam KEY (pdf)

Spring08_201Final.java

PassengerVehicle.java

testFirstLines.txt





15

05/05 – 05/09

Classes,
Finals Review
Course Evaluations

Final Exam topics

Final Exam from: Fall 2006 (our exam will not cover sorting or searching arrays – questions 11 & 12)

Ch 8.4 – 8.7

Lab 14 Handout

Checksheet

None, but use it for review practice!

Finish WordGuess

14

04/28 - 05/02

Arrays, Classes

Week14Arrays.java

MyPoint.java

MyPointClient.java

Ch 7.4 (Rectangular Arrays Only),

Ch 8.1 – 8.3 [UPDATED, was 8.4]

Self Check: pg 433: 25, 26. Pg 491: 5 - 9.

Lab 13 Handout

Checksheet


CH8 (Defining Classes), first three sections. Due 05/06, 11:00. Worth ½ checkmark each.

WordGuess (includes QA checksheet)

words_0.txt
words_2.txt
words_3.txt
words.txt


Due May 12, 2:30pm (start of final exam).

QA cutoff: May 9, 5:00 pm

WordGuess_skeleton.java (a starting point)

WordGuess.class (instructor's solution, binary only)

13

04/21 – 04/25

Arrays (Chapter 7)

Ask someone who was there for notes!

Week13.java

Chapter 7: sections 1 – 3 (ignore section on “for-each” loops).

Self Check: pg 430: 1, 4, 14, 17, 18, 22

Lab 12 Handout

Checksheet

Remainder of CH7 (Arrays). Due 5/1.

Worth ½ checkmark each.

Continue with DataAnalyzer

12

04/14 – 04/18

Finish Chapter 6, start Chapter 7 (Arrays)

Week12.java
hours.txt
PromptLoops.java
MakeRandom.java
MakeRandomChars.java

Chapter 6: remainder
Chapter 7: TBA

Self Check: TBA

Lab 11 Handout

Checksheet

CH7: (Arrays): up to and including “Array Average” section (due 4/22; worth ½ checkmark each)

DataAnalyzer (due 4/29, 11 am) [UPDATED]
QA Checksheet (cutoff 4/25, 5pm) [UPDATED]

Test & output files:
test1.dat test1.out
test2.dat test2.out
test3.dat test3.out
test4.dat test4.out
test5.dat test5.out

11

04/7 – 04/11

Chapter 6 (Files), MIDTERM II

Week11.java

Chapter 6, sections1 and 2

Self Check pg 369: 1-4,6

Lab 10 Handout

Checksheet



10

03/31 – 04/04

Chapter 5 in detail

Week10.java


Lab 09 Handout

Checksheet


None – finish RomanNumerals program and study for midterm II.

9

03/17 – 03/21

Finish Chapter 4 (Preconditions and Exceptions);

Chapter 5 (just sections 1 - 4)

Week09.java (updated 3/20)

Chapter 4, sections 3 – 6.

Chapter 5, sections 1 – 4

Self Check pg 260: (sec 3): 12, 13, 17, 18 (if not already done); (sec 4): all; (sec 5): 25, 27

Self Check pg 318: 1, 2, 11, 14


Lab 08 Handout

Checksheet

CH4:
(due 4/1 11:00am)
* Char
* Methods involving conditions

CH5:
(due 4/3 11:00am)
* The while loop
* The boolean type

RomanNumerals

Helpful code for ideas: getInt() on pg 295; SelfCheck problem 19 on pg 323.

QA Checksheet

QA cutoff: Th 4/3, 5:00 pm

Program due: Tues 4/8, 11:00 am.

8

03/10 – 03/14

Midterm 1, continue Week 7 topics

Midterm1.pdf

Midterm1.java

Chapter 4, section 2 and 3.

Self Check pg 260: 4, 5, 7, 9, 12, 13, 17, 18

Lab 07 Handout

Checksheet

CH4: if/else Statements. Due Tue. 3/18, 11:00 am (along with Week7's CodeLab)

½ checkmark per exercise

StringToPhone

QA Checksheet

QA cutoff: Tue 3/18, 5:00pm

Program due: Thur 3/20, 11:00 am.



7

03/03 – 03/07

Some Loop Techniques, Conditional Execution ("if-else")

Notes



Week07.java

Midterm1Review.java

Chapter 4, sec 1 [Revised 03/05]

Self check pg 260: 1-3 [Revised 03/05]

Canceled due to winter storm

CH4: Cumulative Sum and Product [Revised 03/05]

Due Tue 3/18 [Revised 03/05]

None --- study for Midterm

6

02/25 – 02/29

First look at objects: String and Point and Scanner classes

Notes (updated 2/28)

Week06.java (updated 2/28)

Week06Token.java (NEW on 2/28)

Quiz06 (and code)

Chapter 3, sec 3-5

Self check pg 165: 12-14, 16-18

Lab 06 Handout

Checksheet

CH3: Strings, Using Objects, Creating Objects, Keyboard Input

Due Wed 3/5, 2:00 pm (start of lab). Worth 1 checkmark per exercise.

StringExercises

5

02/20 – 02/22

Finish Week 4 topics; printf

Notes

Week05.java

Quiz05 (and code)

Chapter 3, sec 1-2

Lab 05 Handout

Checksheet


Windchill

4

02/11 – 02/15

for Loops, Managing Complexity, Methods with Parameters and return Values

Notes

Week04.java

Quiz04 (and code)

Chapter 2, sec 3-5
Chapter 3, sec 1-2

Self check pg 165:
1, 5, 6, 7, 11

Lab 04 Handout

Checksheet

Loops.pdf

CH3, sections on Parameters and Return Values. Click the CH3 item itself and read Instructors Notes. Due Th 21st, 5 pm.

None --- finish up Code Lab.

3

02/04 - 02/08

Data Types, Variables, Expressions;

for Loops

Notes

Lecture03.java

Quiz03 (and code)

Chapter 2, sec 1-3

Self-Check pg 106:
1; select 5 each from 2, 3, 4; all of 5 - 6 and 8 - 10

Lab 03 Handout

Expressions.pdf

Checksheet

CH2, all. It's a lot, but most are very quick. Due by 5pm Friday the 15th

Fibonacci


2

01/28 – 02/01

Basic Progam Structure

Notes

DrawFigures01
DrawFigures02

Chpt 1, sec 3-4

pg 42: 14, 16, 23

Lab 02 Handout

Checksheet

Register for TuringsCraft

Cost is $15. See recent email for section access code.

Do "READ ME FIRST" section (problems 20501 and 20502).

Tallahassee

1

01/21 – 01/25

Introduction to Course and to Java

Notes

Hello.java
Hello2.java

Chpt 1, sec. 1-2

pg 42: 2, 3, 5 - 12

Introduction to Lab

Checksheet


Programming Assignment Basics

Bmi.pdf



7d:dc:d8:53:16:99:63:fc:73:69:8e:cd:80:52:f1:bf
6d:22:b0:52:02:82:7e:f0:e8:61:80:08:4e:66:7b:d6
4c:e4:c3:2e:21:21:dd:0a:a2:a0:fe:97:c1:a1:10:45
dd:15:f2:b1:5a:a3:dd:2c:a7:83:dd:ae:2d:ca:3a:db