> CSE 142, Autumn 2017

Below is the current calendar for the CSE142 class. Please keep in mind that we are constantly updating this. It should accurately describe the past, but it won't always accurately predict the future.

Monday Wednesday Thursday Friday
9/26
administrative details
simple programs with println

Read: 1.1-1.3
Lecture: panopto video
Slides: pdf, ppt
9/27
Section 1:
Introductions and First Programs
9/28
static methods


Read: 1.4-1.5
Lecture: panopto video
Slides: pdf, ppt
Video: complex figure
Program: Complex.java
10/2
variables, assignment
for loops


Read: 2.2-2.3
Lecture: panopto video
Slides: pdf, ppt
Video: variables/assignment
Video: for loop
Video: nested loops
10/4
print vs println
nested for loops
class constants

Read: 2.4-2.5
Lecture: panopto video
Slides: pdf, ppt
Video: complex figure
Program: VariableExample.java
Program: ForloopExample.java
Program: Diamond0.java
Program: Diamond1.java
Looptable: diamond-top
10/5
Section 2:
For loops
10/6
parameters



Read: 3.1
Lecture: panopto video
Slides: pdf, ppt
Video: parameter mystery
Program: Diamond2.java
Program: Diamond3.java
Program: ParameterExample.java
10/9
graphics

Read: Supplement 3G
Lecture: panopto video
Slides: pdf, ppt
Video: basic drawing
Program: Stars.java
Program: DrawSomething.java
Resource: DrawingPanel.java
10/11
more graphics

Read: Supplement 3G
Lecture: panopto video
Video: parameterized drawing
Program: Car1.java
Program: Car2.java
Program: Car3.java
Program: ParameterMystery.java
10/12
Section 3:
Parameters
10/13
return, Math class

Read: 3.2
Lecture: panopto video
Slides: pdf, ppt
Video: parameters & return values
Program: Time.java
Program: Ball.java
10/16
Scanner/interactive programs
if/else

Lecture: panopto video
Read: 3.3-3.4, 4.1-4.2
Slides: pdf, ppt
Video: Scanner
Program: ScannerExample.java
Program: Ball2.java
10/18
more if/else


Lecture: panopto video
Read: 4.4-4.5
Slides: pdf, ppt
Video: nested if/else
Video: factoring if/else
Program: BadIfReturn.java
Program: GoodIfReturn.java
Program: BMI1.java
Program: BMI2_B.java
10/19
Section 4:
Returns
10/20
String and char


Lecture: panopto video
Read: 3.3, 4.3
Slides: pdf, ppt
Video: strings
Program: RoundingExample.java
Program: GangstaName.java
10/23
while loops
fencepost/sentinel loops

Lecture: panopto video
Read: 5.1-5.2
Slides: pdf, ppt
Video: sentinel loops
Program: PrintPrimes.java
10/25
pseudorandom numbers


Lecture: panopto video
Read: 5.1
Slides: pdf, ppt
Video: random numbers
Program: Roulette.java
10/26
Section 5:
while loops
10/27
assertions


Lecture: panopto video
Read: 5.5
Slides: pdf, ppt
Video: assertions
10/30
type boolean
more while loop examples
midterm review

Lecture: panopto video
Read: 5.3
Slides: pdf, ppt
Video: type boolean
Problems: Methods.java
Programs: Words.java
Programs: NameComparison.java
11/1
file input



Lecture: panopto video
Read: 6.1-6.2, 5.4
Slides: pdf, ppt
Video: token-based processing
Programs: Echo.java
Programs: Echo2.java
Programs: Echo3.java
Input: numbers.txt
Input: numbers2.txt
11/2
Section 5.5:
midterm review
11/3
optional midterm review
actual midterm at 5:30 pm


11/6
line-based processing

Lecture: panopto video
Read: 6.3-6.5
Line/Token and Searching: pdf, ppt
Line/Token and File output: pdf, ppt
Video: line-based processing
Video: complex input
Programs: SimplePrintStream.java
Programs: Imdb.java (imdb.txt)
Programs: ImdbWithPrintStream.java
11/8
arrays

Lecture: panopto video
Read: 7.1
Slides: pdf, ppt
Programs: ArrayExample.java
Programs: Histogram.java (mid-scores.txt)
11/9
Section 6:
file input / output
11/10
Veteran's Day Holiday

11/13
more arrays


Lecture: panopto video
Read: 7.2
Slides: pdf, ppt
Video: array mystery
Video: array traversal
Programs: ArraySample1.java
11/15
even more arrays
output files

Lecture: panopto video
Read: 7.4, 7.6
Slides: pdf, ppt
Video: array tallying
Programs: Sections.java (sections.txt)
11/16
Section 7:
arrays
11/17
objects and classes
instance methods

Lecture: panopto video
Read: 7.3, 8.1-8.2
Slides: pdf, ppt
Video: Defining a class
Programs: Point1.java Programs: PointClient1.java
11/20
toString, constructors
encapsulation

Read: 8.3-8.5
Lecture: panopto video
Slides: pdf, ppt
Slides: pdf, ppt
Video: constructors
Video: encapsulation
Programs: Point2.java Programs: PointClient2.java
11/22


Lecture: panopto video
Read: 19
11/23
Thanksgiving Holiday

11/24
Thanksgiving Holiday

11/27
critters
see homework page

Lecture: panopto video
11/29
inheritance

Lecture: panopto video
Read: 9.1, 9.3
Slides: pdf, ppt
Video: inheritance (first example)
Programs: Sloth.java
Critters: critters.zip
11/30
Section 8:
objects
12/1
more inheritance

Slides: pdf, ppt
12/4
ArrayList

Lecture: panopto video
Read: 10.1
Slides: pdf, ppt
Video: ArrayList example
Video: ArrayList example
Programs: ArrayListExample.java
Programs: Super.java
Programs: Sub.java
12/6
more on arrays
review for final

Lecture: panopto video
Video: array shifting
Programs: ArrayProgramming.java
12/7
Section 9:
final review
12/8
critter tournament



Final Exam -- Wednesday, December 13 12:30pm