Free · no account

Grade my AP CS A free-response code

Pick a question, write your Java method, and Silver grades it the way an AP reader would — by rubric, with partial credit and feedback on exactly what's missing.

Question
Write countVowels(String word): return the number of vowels (a, e, i, o, u, case-insensitive) in word. Return 0 for null or empty input.
Your code
Grading reads your logic — it does not run your code, so you don't need a full class or a main method. Just the requested method.
New to the free-response section? Read how the AP CS A FRQ is scored.