Recently Updated Pages
L13 - Finite State Machines
Introduction – Making Change Finite State Machines(FSMs) are a method to organize a system of in...
L12 - Recursion Exercise
Part A – Fibonacci A recursive algorithm can be very fast. Sometimes it's the only solution to a ...
L11 - Designing Exception Types Lab
In this lab, we'll create our own exception class for the BankAccount class to handle the case wh...
L10 - Runtime Exceptions Lab
Runtime Exceptions Lab Using the lecture slides as a guide, In a new class, instantiate an array...
L09 - ReverseIt Lab
Write a program that reads in a file and writes each line backwards to an output file. Below is a...
L08 - Autopilot Interface Lab
In this lab, there is no main method, we are not running the code, just checking if it compiles w...
L07 - Shapes Lab
In this lab, we'll work with Abstract Classes. Start VS Code. During the lecture we discussed th...
L06 - Bank Account Lab
In this lab, we'll implement three classes: BankAccount, CheckingAccount, and BankAccountTest. As...
L05 - Using Arrays
Create a new class named UsingArrays. Using the lecture slides as a guide, declare and initializ...
L04 - Iteration Lab - Part 2 - The Three Loops
Enter the following program and fill in the missing pieces so that the three different styles of ...
L04 - Iteration Lab - Part 1 - Nested For Loops
We can determine if a number is even or odd by checking the remainder after dividing the number b...
L03 - Coupons
A supermarket awards coupons depending on how much a customer spends on groceries. For example, i...
L02 - Soda Can Lab
In this exercise, we're going to implement a class SodaCan. This class has a constructor that acc...
L01 - Visual Studio Code (VS Code) Lab
Install Visual Studio Code from FIRST, you will need their version with WPILib. Link In this exe...
Cheat Sheet
Java Coding Standards Always include class documentation Class names start with upper-case lette...
Setup and Links
You can view the lecture slides and lab files here. Class Materials