Question categories

Managing questions

A question category can contain individual questions or other question categories. They can be found by using the Question bank or when building a quiz.


Contents


What are question categories?

We can imagine a question category as a folder on our desktop computer. Then, questions are stored in these categories in a similar way as the files are stored in a file system.

Each category must have a name and we can include a short description of the category. We can create a category hierarchy. For example, we can specify a parent category for each category or the 'Top' as the parent, when a category has no parent.

Tip: Creating question categories and sub categories is a good practice. It is better than keeping all your questions in one big list in the quiz module. The hierarchy feature enables us to separate categories into sub categories and sub categories into sub sub categories etc. indefinitely. Categories and sub categories, etc., are very powerful when combined with random questions that can select either from one category or from a category or any of its sub categories.


Question Sharing

We can share questions in several different contexts. Sharing categories in the 'System' context or 'Course' context has a similar effect to publishing the category so others can see them or hiding a question category from specific users. See the Question contexts page for more information.

By default a course teacher cannot see or use any Question context above the course level.

Note: "Core System" and "System" refer to the same thing when we are describing or showing screen shots of question categories. "System" is the current term we will see in 2.x releases of Moodle.


Category Set Up and Management


Deleting Categories

Categories can also be created or deleted at will. However, if you try to delete a category containing questions, then we will be asked to specify another category to move them to. We cannot delete or move the last category in any context, there must always be one category in a context.


Moving categories

We can also arrange the categories in a hierarchy so that they are easier to manage.

Reassign top category to move categories

Use the question bank>categories link to change the parent category. This will change the order.

Using arrow icons to move categories

See the tool tip that appears when you place the mouse pointer above these icons if you're not sure what action an icon will perform. We cannot move the last category in any context, there must always be at least one category left in all contexts.


See also