# Exercises

Exercise is a regular program in which you cannot modify some parts of a solution (blocks, sensors setup, world parameters). That is, any diagram can be saved as an exercise for students.

## Exercise creation <a href="#create" id="create"></a>

1\. Draw a field on the scene using the [world editing panel](/en/studio/2d-model.md#editor-world), if it is necessary for your task.

![](/files/-MSiOZzgP9Az7dNUrEhI)

2\. Create a diagram.

![](/files/-MSiOdAC9a72H2Xqp39l)

3\. Remove all or part of the blocks from the diagram. The [Initial Node](/en/studio/programming-visual/blocks.md#initial) block must have remained on the scene.

![](/files/-MSiOljt71JxHOgHt_b8)

4\. Choose `Tools → Save as task…` [in the main menu](/en/studio/interface.md#main-menu).

5\. In the opened dialog, select the restrictions for the exercise.

![](/files/-MSiOrdZ6ZOnHTlcwwwV)

|   | Name                                       | Description                                                                                                                |
| - | ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| 1 | 2d model world is read-only                | Forbids editing walls and colored lines in a two-dimensional model.                                                        |
| 2 | Sensors are read-only                      | It prohibits changing the configuration of sensors, as well as their position and direction in a two-dimensional model.    |
| 3 | 2D robot model position is read-only       | Forbids to move the robot "manually."                                                                                      |
| 4 | Motors to wheels binding are read-only     | Forbids changing motors in the settings of a two-dimensional model.                                                        |
| 5 | 2D model simulation settings are read-only | It prohibits changing the noise settings of sensors and motors, as well as the physical engine in a two-dimensional model. |

6\. Click “OK” and select the path to save the exercise.

7\. After saving, the exercise will automatically open in TRIK Studio, where you can make sure that the selected options are not available for editing.

![](/files/-MSiOxOalXuXCxZ1M3lq)

## Exercise load

Loading a saved exercise takes place as a regular program. For example, using the [File Panel](/en/studio/interface.md#panel-file).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.trikset.com/en/studio/exercises.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
