Computer Science 142: Object-Oriented Programming
Fall 2025
Administrivia
- Instructor: Phillip Kirlin
- Office hours: Mon 12-1, Tue 2:30-4, Wed 1-2, Thu 3:30-5. Also available by appointment.
- Canvas page: Use for grades, online assignment submissions, and assignment solutions.
- Syllabus and additional policies.
Resources
- Textbooks and tutorials: Introduction to Java by Liang (textbook), Introduction to Programming in Java by Sedgewick and Wayne (textbook), official Java tutorials, Introduction to Programming Using Java (free online textbook)
- Java in the browser: Repl.it, CodeHS, OnlineGDB
Official Java documentation (Java API)
Course Calendar
- Wed, Aug 20
- Reading: Liang chapter 2 (basics)
- Handouts: Skeleton program • Java basics • Programs to write • Java data types and variables
- Reading: Liang chapter 2 (basics)
- Fri, Aug 22
- Continue Java: if statements, loops
- Code
- Reading: Liang chapter 3 (if statements), chapter 5 (loops)
- Handouts: while loops
- Mon, Aug 25
- Miscellaneous math, functions
- Reading: Liang chapter 6 (functions)
- Handouts: Functions handout
- Reading: Liang chapter 6 (functions)
- Wed, Aug 27
- Lab Lab 1
- Fri, Aug 29
- Functions
- Handouts: Functions practice
- Project Project 1, due Thu, Sep 4
- Handouts: Functions practice
- Mon, Sep 1
- Labor Day (no class)
- Wed, Sep 3
- Lab Lab 2
- Fri, Sep 5
- OOP 1
- Handouts: SimpleCanvas • OOP defs
- Homework Homework 1, due Mon, Sep 15
- Handouts: SimpleCanvas • OOP defs
- Mon, Sep 8
- OOP 2
- Handouts: Color API
- Wed, Sep 10
- Lab Lab 3
- Fri, Sep 12
- OOP Gotchas
- Handouts: Gotchas
- Project Project 2, due Thu, Sep 25
- Handouts: Gotchas
- Mon, Sep 15
- Creating Classes I
- Handouts: Creating classes
- Wed, Sep 10
- Lab Lab 4