Skip to main content

Recently Updated Pages

L13 - Finite State Machines

Intro to Java Labs

Introduction – Making Change Finite State Machines(FSMs) are a method to organize a system of in...

Updated 3 weeks ago by Brandon Duke

L12 - Recursion Exercise

Intro to Java Labs

Part A – Fibonacci A recursive algorithm can be very fast. Sometimes it's the only solution to a ...

Updated 3 weeks ago by Brandon Duke

L11 - Designing Exception Types Lab

Intro to Java Labs

In this lab, we'll create our own exception class for the BankAccount class to handle the case wh...

Updated 3 weeks ago by Brandon Duke

L10 - Runtime Exceptions Lab

Intro to Java Labs

Runtime Exceptions Lab Using the lecture slides as a guide, In a new class, instantiate an array...

Updated 3 weeks ago by Brandon Duke

L09 - ReverseIt Lab

Intro to Java Labs

Write a program that reads in a file and writes each line backwards to an output file. Below is a...

Updated 3 weeks ago by Brandon Duke

L08 - Autopilot Interface Lab

Intro to Java Labs

In this lab, there is no main method, we are not running the code, just checking if it compiles w...

Updated 3 weeks ago by Brandon Duke

L07 - Shapes Lab

Intro to Java Labs

In this lab, we'll work with Abstract Classes. Start VS Code. During the lecture we discussed th...

Updated 3 weeks ago by Brandon Duke

L06 - Bank Account Lab

Intro to Java Labs

In this lab, we'll implement three classes: BankAccount, CheckingAccount, and BankAccountTest. As...

Updated 3 weeks ago by Brandon Duke

L05 - Using Arrays

Intro to Java Labs

Create a new class named UsingArrays. Using the lecture slides as a guide, declare and initializ...

Updated 3 weeks ago by Brandon Duke

L04 - Iteration Lab - Part 2 - The Three Loops

Intro to Java Labs

Enter the following program and fill in the missing pieces so that the three different styles of ...

Updated 3 weeks ago by Brandon Duke

L04 - Iteration Lab - Part 1 - Nested For Loops

Intro to Java Labs

We can determine if a number is even or odd by checking the remainder after dividing the number b...

Updated 3 weeks ago by Brandon Duke

L03 - Coupons

Intro to Java Labs

A supermarket awards coupons depending on how much a customer spends on groceries. For example, i...

Updated 3 weeks ago by Brandon Duke

L02 - Soda Can Lab

Intro to Java Labs

In this exercise, we're going to implement a class SodaCan. This class has a constructor that acc...

Updated 3 weeks ago by Brandon Duke

L01 - Visual Studio Code (VS Code) Lab

Intro to Java Labs

Install Visual Studio Code from FIRST, you will need their version with WPILib. Link In this exe...

Updated 3 weeks ago by Brandon Duke

Cheat Sheet

Intro to Java

Java Coding Standards Always include class documentation Class names start with upper-case lette...

Updated 3 weeks ago by Brandon Duke

Setup and Links

Intro to Java

You can view the lecture slides and lab files here. Class Materials

Updated 3 weeks ago by Brandon Duke