---
title: "Programming Exercises"
space: "Learning"
url: "https://docs.frappe.io/learning/assessments/programming-exercise"
updated: "2026-02-24"
---

In Frappe Learning, Programming Exercises allow you to test a student's coding skills in a live, auto-graded environment. These can be integrated into your courses to provide hands-on practice.

---

## Creating a Programming Exercise

To manage your exercises, click on the **Programming Exercises** section in the sidebar to access the exercise list.

1. **Start Creation:** Click the `+ Create` button.
2. **Basic Info:** Enter a `Title` for the exercise and click `Save`.

![](https://docs.frappe.io/files/Screenshot 2026-02-24 at 12.41.50 AM.png)

3. **Configuration:** After saving, you can define the technical parameters:

- **Language:** Select the programming language (e.g., Python).
- **Problem Statement:** Use the text editor to provide the problem statement and requirements.
- **Test Cases:** Give Input and Expected Output for the tests to run.

---

## The Student Environment

When a student opens a Programming Exercise, they are presented with an in-browser code editor.

![](https://docs.frappe.io/files/Screenshot 2026-02-24 at 12.48.04 AM.png)

1. **Writing Code:** Students write their solution directly in the portal.
2. **Running Tests:** Students can click `Run` to see how their code performs against the test cases.

---

## Reviewing Submissions

Instructors can access the `Submission List` from the top of the Programming Exercise form.