Question categories

From MoodleDocs


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.

Each category consists of a name and a short description. Each category can also be "published", which means that the category (and all questions in it) will be available to all courses in the Moodle site. Other courses and teachers can use your questions in their quizzes. (There is a potential problem however if other courses try to use a question with an image: students will not be able to see the image unless they are also enrolled in the course that owns the question category. Also if using a question from a published category you should be aware of the fact that the teacher in the course owning the category could change or delete the question without your knowledge. If you don't want this it might be better to create or import a local copy of the question in your own course.)

Category set-up

  1. From the Editing a quiz page, click on the "Edit categories" button.
  2. Above the list of current categories you will see a space to add a new category.
  3. Choose which category your new category will be placed. If no other categories have been created, only 'Top' will be available.
  4. Type the name of your new question category in the text box.
  5. Add a meaningful description in the category info area.
  6. If you'd like to share your question with teachers of other courses on the server, select Yes in the Publish column.
  7. Click the Add button. Your new question category will appear in the list of current categories.
  8. When you are done adding categories, click on the Quiz tab to return to the Editing a quiz page.

Categories can also be created or deleted at will. However, if you try to delete a category containing questions, then you will be asked to specify another category to move them to.

You can also arrange the categories in a hierarchy so that they are easier to manage. The 'Move category to' field lets you move a category to another category.

By clicking on the arrows in the 'Order' field, you can change the order in which the categories are listed.

If you import questions from another site, where you had a different identity, you may find that you cannot influence those categories in the 'edit categories page'. You may have to log in as your other identity to see them there. (I haven't tried yet, but had the problem.)

See also