This is the instruction for the Code Base 2025

---------------------------------------------------------------------------------------

Part 1 - two Dry runs. Complete both of them.
This will help you with reading the data for the java program below.
This will help you with turning in your program for them to be graded.

2. Join Mr. Cusack’s Google Classroom to turn in your work only if you have not joined before.

Only your team captain must join the class named Code Bash 2025:

Join Link https://classroom.google.com/c/ODExNTE0NzI1MTA5?cjc=ger3s2xv

Click here to watch a video on how to do your two dry runs.

This document explains how to use the Scanner class in Java to create a text file, write data into it, and then read that data back.

Objective

This lesson will show you how to:

  1. Create a text file in Java.
  2. Write data into it (from scanner input).
  3. Read that data back from the same file and print it out.

Step 1: Import the Required Classes

This explains the imports.

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

Step 2: Create a Text File and Write Data

Click here and copy my source code into your Eclipse.
The name of the file will be: PX_CreateFileHardCoded_lastname

Files to Submit (Google Classroom)

This is the location of your file when the execute the program above


Step 3: Read Data Back from the File and Print It

Click here and copy my source code into your Eclipse.
The name of the file will be: PX_ReadOneLine_lastname

Files to Submit (Google Classroom)

💡 This program uses Scanner again, but this time to read lines from the file and display them in the console.

Summary

  1. Create the input.dat file with hardcoded data.
  2. Read the file input.dat again using Scanner.
---------------------------------------------------------------------------------------

Part 2 - All 12 programs links are below including how to turn in your programs.

Each program that is successfully complete will give you 60 points.

5 point off for failure to name the file correctly.

All points will be lost for a program if you fail to turn in ALL the required files.

Since I have to manually grade this.
I may not have the final results until I return from October break.

Click here to read your instruction for program 1. Anne .

Click here to read your instruction for program 2. Ariel .

Click here to read your instruction for program 3. Aurora .

Click here to read your instruction for program 4. Clair .

Click here to read your instruction for program 5. Danny .

Click here to read your instruction for program 6. Georgio .

Click here to read your instruction for program 7. Hamilton .

Click here to read your instruction for program 8. Jackie .

Click here to read your instruction for program 9. Minotaur .

Click here to read your instruction for program 10. Simon .

Click here to read your instruction for program 11. Sprong .

Click here to read your instruction for program 12. Wendy .