Computer science practice

AI that reads your code — and helps you understand it.

Write a solution and Silver reads the logic, not just the output: a score with partial credit, a clear rubric, and one hint toward the next step. It guides you without handing over the answer — and can ask you to explain a line you wrote.

Works with Python, C++, Java, C# and more.
Solution.java
public int sum(int[] a) {
  int s = 0;
  for (int x : a) s += x;
  return s;
}
80 / 100Silver read your code — partial credit
Loops over every element
Accumulates the sum correctly
Handles an empty array
Trinket shuts down · Aug 2026 Move your trinkets to Silver in one step — code, extra files and folders included. Shared links and lessons keep working. Import from Trinket Open the compiler
How it works

Feedback that goes past pass/fail

Most autograders only check whether the output matches. Silver reads the code, guides you, and can check that your understanding is real.

Reads your code

Silver looks at the actual logic and style — not just the output — and returns a score with partial credit and a rubric, including for open-ended solutions.

💡

Hints, not answers

A step-by-step tutor that gives one hint at a time and points you to the next move. It won't write the solution for you.

🛡

Explain your code

Silver can ask you to explain a line you wrote and check whether the answer shows real understanding — instead of guessing with an AI detector.

Supported languages Python C++ Java C# JavaScript Pascal
Run · Share · Embed

A compiler you can share and embed

Write and run Python and Java right in the browser — then share a link or drop an interactive, runnable editor into any site, blog, or LMS. A free Trinket alternative, with Trinket import.

Run in the browser

No install. Students run Python and Java instantly, with program output and matplotlib / turtle graphics rendered inline.

🔗

Share a link

Turn any snippet into a short link. Edit it once and every shared link and embed updates — no re-sharing.

❮❯

Embed anywhere

Paste one iframe to embed a live, editable editor in your LMS or lesson page — configurable view, height, autorun and read-only.

Open the compiler
Free tools

Small tools, big exam wins

Each one loads instantly, runs in the browser, and needs no account — use them in class today.

Σ

AP score calculator

Enter MCQ and FRQ points and see your predicted 1–5 for AP CSA and AP CSP on the current exam format — plus exactly how far you are from the next score.

Open the calculator →

Java code tracer

Step through Java line by line: every variable, the call stack, heap references and output. Real semantics — integer division, overflow, array aliasing.

Trace some code →

AP CSP pseudocode

Run exam pseudocode with the robot on a grid and a step-by-step trace — and a reference sheet where every construct is a runnable example.

Run pseudocode →

Info Bay review game

A territory-capture game: teams answer real questions to take islands, storm forts and hunt treasure. Play the demo vs bots, or build a game from your question bank.

Capture the bay →
By design

AI that supports learning, not replaces it

Hints escalate one step at a time and never include the full solution. The assistant can ask you to explain your own code to confirm you understand it. The goal is to help you learn to program — including how to work with AI — while keeping the thinking yours.

19864 programming problems with automatic checking.
FAQ

Questions, answered

What is Silver?

Silver is a free practice platform for AP Computer Science A, AP CSP and Java. An AI reads your code and grades it by rubric with partial credit, a Socratic tutor gives one hint at a time, and a set of free exam tools — score calculator, Java code tracer, AP CSP pseudocode runner and a classroom review game — works without an account.

How does the AI grading work?

Silver reads the logic of your solution, not just the output: it returns a score with partial credit against a clear rubric and one hint toward the next step. It never writes the full solution, and it can ask you to explain a line you wrote to check that the understanding is yours.

Is Silver free?

Yes. Practice, the compiler and all the exam tools are free. The tools — score calculator, code tracer, pseudocode runner and the Info Bay demo — do not even require an account.

Can I move my Trinket projects to Silver?

Yes, in one step: export your trinkets and import the archive — code, extra files and folder structure come along. Trinket shuts down in August 2026, so moving early keeps every shared link and lesson working.

What free tools are included?

An AP score calculator for CSA and CSP with the current exam format, a Java code tracer that steps through code with a variable table and heap, an AP CSP pseudocode runner with the robot on a grid and a runnable reference sheet, and Info Bay — a territory-capture review game for classrooms.

Which languages does the compiler support?

Python, Java, C++, C#, JavaScript and Pascal run right in the browser, with program output and matplotlib or turtle graphics rendered inline. AI grading focuses on Java for AP Computer Science A.

Try it on a problem.

Pick a programming task, write your solution, and let Silver read your code.