Compare your own AP CSA 2026 FRQ answers against another student's solutions
Study the standard solution-plus-runner class pattern used in AP CSA
Practice compiling and running small Java programs from the command line
Use the runner classes as a template for testing your own AP CSA solutions
Needs a Java compiler installed and the FRQ prompts found elsewhere since the repo only ships the answers.
This repository is a small set of Java files that the author has posted as their own solutions to the 2026 free-response questions, known as FRQs, from the AP Computer Science A exam. AP Computer Science A is a high school course in the United States that teaches programming in Java and ends with a standardised exam, and the FRQ section asks students to write Java methods to solve a few short problems described in plain English. The repository description simply says My solutions to the AP CSA 2026 FRQs. The README is very short. It does not explain what the questions were or how the solutions work. Instead it just maps each of the four FRQs to the Java files in the repository. For FRQ 1, the reader is told to open Account.java and AccountTester.java, with a note that the isAvailable method will prompt for true or false input to simulate its behaviour. For FRQ 2, the relevant files are Bottle.java and BottleRunner.java. For FRQ 3, it is CourseRecord.java, Attendance.java, and AttendanceRunner.java. For FRQ 4, the files are Space.java, GameBoard.java, and GameRunner.java. The pattern that comes through from the file names is the standard AP CSA layout. Each problem has one or more classes that hold the actual solution logic, and a separate runner or tester class that creates an example object and exercises the methods so a student can see them work. To run any of them, a reader would compile the Java files together and run the matching runner or tester class. The repository has no stars and no topics, and the README does not list a license or any further instructions. It reads as a personal study upload by the author rather than a polished project. Anyone looking for the question prompts themselves would need to find them elsewhere, since only the answer code is here.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.