Exercise sets are used to create **multi-step questions** (like step a, step b, step c) where you want the variables to remain equal while the exercises in the set are played.

Moreover, sets can be used to create main and sub-steps, like step a -> when solved go to step b, else there is no solution button, but you have to do exercises a1, a2 and a3 first.

Because exercises in a set always belong together, you can only add a whole set to a package, not individual exercises. If you want to add individual exercises to a package, copy the exercise and select 'New set' in the pop-up.

This newly copied exercise can be added to any package.

### Creating a set

Every exercise is in a set already. If you create an exercise, you automatically create a set that has just one exercise in it. If you want to add an exercise to an existing set, either copy the exercise and choose 'Add to this set' in the pop-up.

Or, if you do not want a copy, you can select an existing set when you create a new exercise under 'Set'. To do this, you need to know the set id of the set that you want to add the exercise to.

Another option is to go to the Set tab of an exercise and click "Add exercise to set".

It is unfortunately not possible to merge two or more existing exercises into one set.

### Variables

In between a set, all variables are shared: when you save a variable in one exercise of the set, they are saved in all exercises of the set.

### Set order

In every exercise in the set, you can manage the order of the exercises in the set. Go to edit the exercise, then to the tab "Set" and drag and drop the correct order for your set.

Note that only published exercises appear in the set order list. If you change the status of exercises in a set from unpublished to published, the order of the exercises in that set may change. Thus, if you have published all exercises a set, always check if the set order is still correct.

### Creating main and sub-steps in a set

There are **three kinds of sets**:

**Type 1** - is the default, and only has main steps like

a.

b.

c.

For a student, this looks as follows in a package:

**Type 2 **- only has one main step with multiple sub-steps

a. (when a student answers this correctly, they will finish. Otherwise they will have to choose 'Step by step' that brings them to a1.),

a1.

a2.

a3.

For a student, this looks as follows in a package:

To accomplish this, first add all three (or more) exercises to the set in the default way. Then go to edit exercise a and use the General tab where you select exercise a (so the exercise you are currently editing) in 'Next step'. Exercises a1 and a2 will automatically become sub-steps.

**Type 3 **-** **multiple main steps and sub-steps

a. (when a student answers this correctly, he will go to b. Otherwise he will have to choose 'Step by step' that brings him to a1.),

a1.

a2.

a3.

b.

c.

For a student, this looks as follows in a package:

To accomplish this, go to edit exercise a and use the General tab where you select exercise b in 'Next step'. Exercises a1 and a2 will automatically become sub-steps.

Note that exercises that aren't in sets look like this:

(*exercises are marked by circles that aren't connected to each other*)