Note: You are currently viewing documentation for Moodle 2.1. Up-to-date documentation for the latest stable version is available here: Question categories.

Question categories: Difference between revisions

From MoodleDocs
m (added link to spanish translation of page)
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Template:Questions}}
{{Template:Managing questions}}
Creating question categories and sub categories is a good practiceIt is better than keeping all your questions in one big list in the quiz module.
A question category can contain individual questions or other question categories.  They can be found by using the [[Question bank]] or when [[Building Quiz|building a quiz]].


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.)
==What are question categories and how are they organized?==


==Category set-up==
[[Image:question-categories.png|thumb|300px|Question category as a folder]]
Imagine a question category as a folder that contains questions that are unique to that folder. You can put one or more question categories within another question category.  This is similar to a file system on a computer.  You can have the same file name, with identical content (an identical question) located in many folders, but each file (question) is unique.  Like a file, when you edit one question in a folder, it does not change any other question.


#From the [[Editing a quiz]] page, click on the "Edit categories" button.
Moodle 2.x introduced context levels.  In short, each context level can have unique question categories and subcategories.   However, the user's context determines which question categories they can see. Generally speaking, the System level context question categories can always be seen. A course level context question category can not be seen/used by another course. There are other context levels.  
#Above the list of current categories you will see a space to add a new category.
#Choose which category your new category will be placed. If no other categories have been created, only 'Top' will be available.
#Type the name of your new question category in the text box.
#Add a meaningful description in the category info area.
#If you'd like to share your question with teachers of other courses on the server, select Yes in the Publish column.
#Click the Add button. Your new question category will appear in the list of current categories.
#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.  
:''TIP:'' The robust potential for question organization deserves some planning. Fortunately, it is possible to move question categories between and in context levels, and move questions between question categories.


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.
===Question Sharing===


By clicking on the arrows in the 'Order' field, you can change the order in which the categories are listed.
You can share questions by placing them in a [[Context|context]] level question category. For example, placing a question category categories in the 'System' context is similar to publishing the question category so many teachers can potentially use it.  Or for example, placing a question category in a Course category context level (say Math) will hide it from a course in a different course category (say Biology).  See the [[Question contexts]] page for more information.


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.)
By default a course teacher cannot see or use any Question context above the course level.
 
:'''''Note:''''' In 2.x the "System" is the top context level.  In previous versions of Moodle it was call the "Core System"
 
==Adding and managing question categories==
Settings > Question bank > Categories
The "Editing categories" page has two sections.  The top is for managing existing categories, and the bottom is for adding categories.
 
===Adding categories===
To add a question category you will need to name it, place it within a context level (see [[Question contexts]]) and perhaps place it as a sub category of an existing category. 
* At the bottom of the category page link, below current categories, you will see a form to add a new category.
* Choose the 'parent' context level with the pull down menu
** Placing your category in another category makes it a sub-category of the parent category.
** Choosing 'Top' in any of the context means that your category is a top level category, not a sub category of an existing category.
** Remember, your current context may hide question categories that exist, but are not available.  For example, a question category that is in a course context level of a different course will be hidden.
* Type the name of your new question category in the text box.
* Add an optional description in the category info area.
* Click the 'Add Category' button. Your new question category will appear in the list of current categories.
 
 
===Moving question categories between context levels===
Settings > Question bank > Categories  "Edit categories section".
 
*Select the edit icon of the category which you wish to move. This will bring you to the "Edit this category" form.
*Use the pull down menu to select the context level, as described in the adding categories section. 
*Click "Save Changes" 
 
===Using arrow icons for moving categories within a context level===
Settings > Question bank > Categories  "Edit categories section"
You can also arrange the question categories with a context level (only) by using the arrow keys, instead of opening up the "Edit this category" form.  The arrow keys effect is similar to working with an outline on a word processor.
 
* The up/down arrow icons change the order in which question category 'peers' are displayed within a single context level.
* The right arrow icon changes a category to be a sub category of the category listed immediately above it.
* The left arrow icon moves the sub category to be a peer of the category above it.
 
:''TIP:'' You can not use the arrow icons to move a question category between context levels.  Thus you can not use an arrow icon to move a question category that is in the course context level to the system context level. 
 
===Deleting Categories===
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 cannot delete or move the last category in any context, there must always be one category in a context.


==See also==
==See also==
*[[Question contexts]]
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=47540 I can see other teacher's categories] forum discussion
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=47540 I can see other teacher's categories] forum discussion


[[Category:Question]]
[[de:Fragenkategorien]]
 
[[es:Categorías de preguntas]]
[[fr:Catégories de questions]]
[[ru:Категории вопросов]]
[[ru:Категории вопросов]]

Latest revision as of 00:31, 2 January 2015

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.

What are question categories and how are they organized?

Question category as a folder

Imagine a question category as a folder that contains questions that are unique to that folder. You can put one or more question categories within another question category. This is similar to a file system on a computer. You can have the same file name, with identical content (an identical question) located in many folders, but each file (question) is unique. Like a file, when you edit one question in a folder, it does not change any other question.

Moodle 2.x introduced context levels. In short, each context level can have unique question categories and subcategories. However, the user's context determines which question categories they can see. Generally speaking, the System level context question categories can always be seen. A course level context question category can not be seen/used by another course. There are other context levels.

TIP: The robust potential for question organization deserves some planning. Fortunately, it is possible to move question categories between and in context levels, and move questions between question categories.

Question Sharing

You can share questions by placing them in a context level question category. For example, placing a question category categories in the 'System' context is similar to publishing the question category so many teachers can potentially use it. Or for example, placing a question category in a Course category context level (say Math) will hide it from a course in a different course category (say Biology). 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: In 2.x the "System" is the top context level. In previous versions of Moodle it was call the "Core System"

Adding and managing question categories

Settings > Question bank > Categories The "Editing categories" page has two sections. The top is for managing existing categories, and the bottom is for adding categories.

Adding categories

To add a question category you will need to name it, place it within a context level (see Question contexts) and perhaps place it as a sub category of an existing category.

  • At the bottom of the category page link, below current categories, you will see a form to add a new category.
  • Choose the 'parent' context level with the pull down menu
    • Placing your category in another category makes it a sub-category of the parent category.
    • Choosing 'Top' in any of the context means that your category is a top level category, not a sub category of an existing category.
    • Remember, your current context may hide question categories that exist, but are not available. For example, a question category that is in a course context level of a different course will be hidden.
  • Type the name of your new question category in the text box.
  • Add an optional description in the category info area.
  • Click the 'Add Category' button. Your new question category will appear in the list of current categories.


Moving question categories between context levels

Settings > Question bank > Categories "Edit categories section".

  • Select the edit icon of the category which you wish to move. This will bring you to the "Edit this category" form.
  • Use the pull down menu to select the context level, as described in the adding categories section.
  • Click "Save Changes"

Using arrow icons for moving categories within a context level

Settings > Question bank > Categories "Edit categories section" You can also arrange the question categories with a context level (only) by using the arrow keys, instead of opening up the "Edit this category" form. The arrow keys effect is similar to working with an outline on a word processor.

  • The up/down arrow icons change the order in which question category 'peers' are displayed within a single context level.
  • The right arrow icon changes a category to be a sub category of the category listed immediately above it.
  • The left arrow icon moves the sub category to be a peer of the category above it.
TIP: You can not use the arrow icons to move a question category between context levels. Thus you can not use an arrow icon to move a question category that is in the course context level to the system context level.

Deleting Categories

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 cannot delete or move the last category in any context, there must always be one category in a context.

See also