Review from COMP 142
These handouts relate to topics covered in COMP 142 that are foundational for COMP 241. These handouts are here for your benefit and may help you review and refresh your understanding of 142. If you feel you don’t understand any of these topics, please come talk to me at the beginning of the course.
General
Start-up: Accessing in-class code examples
Introduction to Java: Organization, Syntax, and Basics
Simple Practice and Examples
- Example Code (Introduction)
- The Problem Code (Introduction)
- Introduction to Java Programs
- For Loop Code
- functions practice
- Starting code (functions with arrays)
- Introduction to Java Programs
String and ArrayList basics
Object-Oriented Programming
OOP Practice and Examples
- Creating Classes I
- Creating Classes III
- Lecture 3 - SimpleCanvas & In-Class Work
- Fraction Class Handout
- String and ArrayList Practice problems