Link Search Menu Expand Document (external link)

COMP 142: Handouts

To make finding handouts easier and more effective, this is a list of the handouts for COMP 142, organized by topic. For the sections after Introduction, most of the code can be found in the Github repository: https://github.com/ncp38/cs142-f23-inclass.

General

Start-up: Accessing in-class code examples
Debugging with Intellij
Design Choices

APIs

SimpleCanvas and Color APIs
String handout,
ArrayList handout,

Exam Review

Exam Review 1 (writing code)
Exam Review 1 (interpreting code)
Exam Review Solutions (writing code)
Exam Review Solutions (interpreting code)
Exam Review Solutions (interpreting code, final question)

Introduction to Java: Organization, Syntax, and Basics

Introduction Slides

Java basics

while loop handout
for loop handout
Functions handout
Functions with arrays.

Introduction Practice and Examples

Example Code (Introduction)
The Problem Code (Introduction)
Introduction to Java Programs
For Loop Code
functions practice
Starting code (functions with arrays)

Object-Oriented Programming

OOP definitions
Class design handout

OOP Practice and Examples

Creating Classes I
Creating Classes III

Gotchas handout

Lecture 3 - SimpleCanvas & In-Class Work
Fraction Class Handout
String and ArrayList Practice problems

Recursion

Recursion handout
Recursion with arrays handout
Binary search handout

Recursion Practice and Examples

Recursion I Slides
Recursion III Slides
Recursion IV Slides

Inheritance

Inheritance handout

Inheritance Practice and Examples

Inheritance Slides

Polymorphism

Polymorphism Practice and Examples

Interfaces

Interfaces Practice and Examples

##Big Oh Analysis

.