Activities and exercises

5. Activities and exercises#

OU-XML supports a range of styled activity types, including activities, exercises, SAQs and ITQs.

5.1. Activities#

Activities have two parts - the activity, and the activity answer.

In ou0book-theme, activities are defined as:

```{ou-activity} Activity 1
:timing: 1 hour

Do something...
```
Activity 1
1 hour

Do something…

Activities can optionally include an answer:

````{ou-activity} Activity 2
Do something else...

```{ou-answer}
Here is the second activity answer.

And *more* bits of answer.
```

````
Activity 2

Do something else…


Here is the second activity answer.

And more bits of answer.

Ideally we should also have an identifier, not least so we can provide a cross-reference link to the activity.

5.2. Exercises#

Exercise 1
1 hour

Do something…

Exercise 2
15 minutes

Do something else…


Here is the second activity answer.

And more bits of answer.

We can also have a discussion block:

Exercise 3
15 minutes

Do something else…

Here is the third exercise discussion.

And more bits of discussion.

Or an answer and a discussion block:

Exercise 4
1 hour

Do something else…


Here is the fourth exercise answer.

And more bits of answer.

Here is the fourth exercise discussion.

And more bits of discussion.