Turn AI into a graded learning outcome

Students write prompts. An LLM generates code. Your autograder tests it. All automatic.

CodeGrade online IDE presenting a prompt challenge to generate a Python function based on examples.CodeGrade prompt challenge with automatic grading feedback for a Python function generation task.

1. Grade how students use AI, not just how they code

Your students are already using ChatGPT. Instead of fighting it, make it part of the course. Prompt exercises let students practice writing prompts that produce working code, and CodeGrade grades the result automatically. The prompt is only as good as the code it generates: if the tests pass, the prompt worked.

  • Add prompt questions to any quiz alongside coding and multiple-choice questions
  • CodeGrade runs your test suite against the LLM-generated code, not the prompt itself
  • You define what "correct" looks like. The autograder handles the grading.
CodeGrade AI prompt challenge asking students to generate a Python function within the online IDE.
Detailed automatic grading feedback for a CodeGrade prompt challenge, showing unit test results and points.

2. Students iterate in seconds, not days

Prompting is a skill you learn by doing. Each submission gets graded in seconds, so students can refine their prompt and resubmit right away. No waiting for a TA, no manual review.

  • Submissions graded in seconds, every attempt
  • Students see which tests passed and which failed after each try
  • Works like any other CodeGrade assignment: set resubmission limits, deadlines, and late policies

3. Low-stakes practice that fits into any course

Prompt exercises are lightweight by design. Add a few prompt questions to a weekly quiz as a formative check, or build a standalone exercise before an exam. You can see every student's grade and their submitted prompt.

  • Assign prompt exercises as formative practice or graded assessments
  • Mix prompt questions with coding and multiple-choice questions in the same quiz
  • Part of the AI add-on, works with your existing CodeGrade setup
Setting up a prompt engineering question in CodeGrade, defining the task and expected Python code output.

Run secure assessments and protect academic integrity.

Coding exams with session lockdown, plagiarism detection across semesters, and auto-graded AI exercises. Free for up to 50 students.

Discover how institutions use CodeGrade to improve their coding courses

Alex St. Aubin

Instructor Computer Science at the University of Nevada, Las Vegas

“CodeGrade has really made our lives easier. The lives of the TAs, the students, the teachers. It has really helped our Computer Science Department out a lot.”

Jamie Andrews

Director of Graduate Programs

I can see the student submissions and slowly watch their scores creep up, which is incredibly rewarding!

Carey Baldwin

Lecturer at the University of Massachusetts, Amherst in the Isenberg School of Management.

"I really appreciate the partnership that I have with CodeGrade, they help solve every problem!"

Frequently Asked Questions

More features

AI speech bubbles, representing Large Language Models in coding and programming.
An AI assistant you actually control
A configurable AI chatbot embedded in the code editor. Set it up as a virtual TA that asks guiding questions, or a full coding assistant. You decide per assignment.
> Learn more
Code exam checklist with checkmarks, symbolizing programming assessment.
Run secure coding exams that grade themselves
IP restrictions, access passwords, and session lockdown. Students write real code in the browser. Grades are ready the moment the exam ends.
> Learn more
Circular gear with a checkmark, representing automated code grading.
The most powerful autograder
Grade code automatically across 175+ languages. Start free.
> Learn more

Get started today and unlock the power of CodeGrade.