Question categories: Difference between revisions

From MoodleDocs
m (French link)
(→‎Moving Categories: create sub headings to cover two ways to move)
 
(22 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Template:Questions}}
{{Template: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 Quiz|building a quiz]].
 
==What are question categories?==
==What are question categories?==


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 must have a name and you can include a short description of the category. You can create a ''category hierarchy'' - you can specify a parent category for each category or 'Top' for parent if the category has no parent. This enables you to seperate categories into sub categories and sub categories into sub sub categories etc. indefinitely. Categories and sub categories etc are very powerful in combination with random questions which can select either from one category or can select questions randomly from a category or any of it's sub categories.
[[Image:question-categories.png|thumb|300px|Question category as a folder]]
 
You can imagine a question category as a folder on your desktop computer. Then, questions are stored in these categories in a similar way as your files are stored in a file system.
==Question Sharing==


===From Moodle 1.9===
Each category must have a name and you can include a short description of the category. You can create a ''category hierarchy''.  For example, you can specify a parent category for each category or the 'Top' as the parent, when a category has no parent.  
{{Moodle 1.9}}


Question sharing changed from Moodle 1.9. From Moodle 1.9 you can share questions in several different contexts. Sharing categories in contexts 'Core System' or course contexts has a similar effect to publishing or not publishing a category. See the [[Question contexts]] page for more info.
:''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 you 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.


By default a course teacher cannot see or use any Question context above the course level from Moodle 1.9 although 'published' questions which have been moved to these contexts will work as they did before in quizzes they have been included in. See [[Question Engine Changes in Moodle 1.9#Access_to_question_categories_shared_outside_a_course]] for more info and how you can allow selected course teachers to see and use question contexts above the course level.
==Question Sharing==


===Before Moodle 1.9===
You can share questions in several different [[Context|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.


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.)
By default a course teacher cannot see or use any Question context above the course level.


==Category Set Up and Management From Moodle 1.9==
:'''''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 you will see in 2.x releases of Moodle.
{{Moodle 1.9}}


There have been some changes in the UI for category management from Moodle 1.9. If you are not using Moodle 1.9 or above see instructions below [[#Category_set-up_before_Moodle_1.9]]
==Category Set Up and Management==


* Open the question bank. Either :
* Open the question bank. Either :
Line 27: Line 26:
* Click on the 'Categories' tab.
* Click on the 'Categories' tab.
* Below the list of current categories you will see a form to add a new category.
* Below the list of current categories you will see a form to add a new category.
* Choose the 'parent' category in which your new category will be placed. See image of 'Parent' selector image to right. [[image:QuestionParentCategorySelector.jpg|right]]
* Choose the 'parent' category in which your new category will be placed. See image of 'Parent' selector image to right. [[image:QuestionParentCategorySelector.jpg|right|thumb|346px|Question category selector]]
** Placing your category in another category makes it a sub-category of the parent.
** Placing your category in another category makes it a sub-category of the parent.
** Choosing 'Top' means that your category is a top level category, not a sub category. When more than one sharing context is available you can place your category as a top level category in any of the contexts.
** Choosing 'Top' means that your category is a top level category, not a sub category. When more than one sharing context is available you can place your category as a top level category in any of the contexts.
Line 36: Line 35:


===Deleting Categories===
===Deleting Categories===
{{Moodle 1.9}}
 
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.
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.


===Using Arrow Icons for Moving Categories===
===Moving categories===
{{Moodle 1.9}}
You can also arrange the categories in a hierarchy so that they are easier to manage.
You 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====


* The up/down arrow icons lets you change the order in which category 'peers' are displayed.
* The up/down arrow icons lets you change the order in which category 'peers' are displayed.
* The up / down icons are alsoused to move a '''top-level''' category between contexts. If you move a category to be the first or last category in a context and then press the arrow key again then it will be moved to the next context.
* The up / down icons are also used to move a '''top-level''' category between contexts. If you move a category to be the first or last category in a context and then press the arrow key again then it will be moved to the next context.
* The right arrow icon allows you to move a category to be a child category of the category listed immediately above it.
* The right arrow icon allows you to move a category to be a child category of the category listed immediately above it.
* The left arrow icon allows you to move a category up one category level (to be a peer of it's parent category).
* The left arrow icon allows you to move a category up one category level (to be a peer of it's parent category).


''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.'' You cannot move the last category in any context, there must always be at least one category left in all contexts.
''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.'' You cannot move the last category in any context, there must always be at least one category left in all contexts.
==Category set-up before Moodle 1.9==
#From the [[Editing a quiz]] page, click on the "Edit categories" button.
#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.
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==
==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


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

Latest revision as of 16:32, 9 December 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?

Question category as a folder

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

Each category must have a name and you can include a short description of the category. You can create a category hierarchy. For example, you 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 you 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

You 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 you will see in 2.x releases of Moodle.

Category Set Up and Management

  • Open the question bank. Either :
    • Click on the Questions link in the 'Administration' block click on the 'Questions' link.
    • Or open the Editing a quiz page - when logged in as a teacher or someone with appropriate permissions open a quiz and then click on the 'Edit' tab.
  • Click on the 'Categories' tab.
  • Below the list of current categories you will see a form to add a new category.
  • Choose the 'parent' category in which your new category will be placed. See image of 'Parent' selector image to right.
    Question category selector
    • Placing your category in another category makes it a sub-category of the parent.
    • Choosing 'Top' means that your category is a top level category, not a sub category. When more than one sharing context is available you can place your category as a top level category in any of the contexts.
    • Notice you can choose to make your category a 'top level' category in any context (see Question contexts) that is available to you. Or you can choose to add your category as a sub category of another category in the same context as the
  • Type the name of your new question category in the text box.
  • Add an optional meaningful description in the category info area.
  • Click the 'Add Category' button. Your new question category will appear in the list of current categories.

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.

Moving categories

You 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

  • The up/down arrow icons lets you change the order in which category 'peers' are displayed.
  • The up / down icons are also used to move a top-level category between contexts. If you move a category to be the first or last category in a context and then press the arrow key again then it will be moved to the next context.
  • The right arrow icon allows you to move a category to be a child category of the category listed immediately above it.
  • The left arrow icon allows you to move a category up one category level (to be a peer of it's parent category).

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. You cannot move the last category in any context, there must always be at least one category left in all contexts.

See also