This curriculum is designed for absolute beginners in Java programming, gradually introducing AP CSA concepts across 10 lessons.
It includes practice problems and examples to reinforce learning.
The lessons cover:
- Printing, variables, working with files/classes
- Math operators, user input (Scanner),
forloops - Comparison operators,
if/else, modulo, nested conditionals - Classes & objects (fields, constructors, methods)
- Arrays (indexing, length, traversing)
- Methods (parameters, return values, scope)
- Searching arrays & counting items
- Summing and finding min/max in arrays (using helper methods)
whileloops, nested loops, 2D arrays, arrays of objects- Large Problem Set of 15 problems of varying difficulty covering all previous lessons
- Teacher-led instruction is required.
- The teacher will explain the concepts using the sample code provided in each lesson.
- After instruction, students complete problem sets for practice.
- The problems do not contain answers: students are expected to attempt solutions themselves.
- Teachers may give hints but encourage independent problem-solving.
- For Lesson 10, students are encouraged to solve independently, with fewer points awarded if teacher help is used.
- Open the repository in GitHub Codespaces by clicking the green Code button on the repo page and selecting Codespaces → New codespace.
- When prompted, select 2-core machine for better performance.
- This will launch a ready-to-use online development environment in your browser, with Java pre-installed.
- Students can code directly in Codespaces without needing to install anything locally.
- When you make changes, they are saved automatically in the Codespaces environment, but not yet in GitHub.
- In the left sidebar, click the Source Control icon (or press
Ctrl+Shift+G/Cmd+Shift+G). - Write a short description of what you changed in the message box (e.g., "Completed Lesson 2 Practice").
- Click the ✓ Commit button.
- Click Sync Changes (🔄) to upload your work to GitHub so your teacher can see it.
- Always shut down your Codespace after use to save resources:
- Go to the Codespaces tab on GitHub (under your profile).
- Find the running Codespace.
- Click the ⋯ menu and select Stop Codespace.
- Inside Codespaces, open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon Mac). - Search for Live Share: Start Collaboration Session.
- Copy the generated Live Share link and send it to your teacher so they can join your coding session in real-time.
- Each lesson has:
- Sample code
- Practice problems
- Lesson 10 only includes a problem set which has points per problem based on difficulty.