Java practice that shows how students think
Java Lab by Educator Today is a structured AP CSA environment. Students move from specification to algorithm, code, execution trace, tests and explanation — and teachers see the reasoning, not just the final answer.
Scenario
The library app needs a vowel count for each book title.
Checklist
Restate the spec
Plan the loop
Write the method
1public static int countVowels(String text)2{3int count = 0;4for (int i = 0; i < text.length(); i++)5{6String letter = text.substring(i, i + 1);7if ("aeiouAEIOU".indexOf(letter) >= 0)8{9count++;10}11}12return count;13}
Hints
What range of index values lets substring reach every character?
Hint 1 of 3
How Java Lab works
One learning sequence for every activity
- Step 1
Specify and plan
Students restate the specification, then write an algorithm before touching code — so misunderstandings surface early.
- Step 2
Code and trace
A three-panel Java workspace keeps requirements, editor and hints side by side, with execution traces to predict behavior.
- Step 3
Test and explain
Tests, a written explanation and a short reflection complete each activity, giving teachers evidence of understanding.
Specification → Algorithm → Code → Execution Trace → Tests → Explanation → Reflection
Course map
Organized around the four 2025–26 AP CSA units
Unit and topic numbers are checked against the College Board Course at a Glance. Exam weightings below are the published ranges.
Source: AP Computer Science A Course and Exam Description (2025-26), Course at a Glance V.1.
Built for schools
A workspace for each role in the classroom
Students
- Join a class with a teacher’s code
- See published assignments
- Hints that ask questions first
Teachers
- Create classes and join codes
- Assign the sample lesson and lab
- Approved by a Platform Admin
Schools
- Submit a registration enquiry
- Track its review status
- Workspace provisioning comes later
Platform admins
- Review teacher access requests
- Review school enquiries
- Keep internal review notes
What works today
What Java Lab does — and does not — do yet
Accounts, classes, join codes and assignments are live. Java code is not compiled or run yet, and progress figures on dashboards are labeled demonstration data. Unavailable actions are disabled with an explanation.
- Available now
Accounts, teacher approval, classes with join codes, and assignments for the sample lesson and lab.
- Enquiry only
School registration is reviewed by our team. School workspaces are not provisioned yet.
- Next
Java compilation, execution and automated tests in an isolated, resource-limited service.
- Later
A Socratic AI tutor with teacher-controlled assistance levels.