https://docs.moodle.org/32/en/api.php?action=feedcontributions&user=Ddaniels&feedformat=atomMoodleDocs - User contributions [en]2024-03-28T11:36:57ZUser contributionsMediaWiki 1.39.6https://docs.moodle.org/32/en/index.php?title=Development:Moodle_2.0_question_bank_improvements&diff=59434Development:Moodle 2.0 question bank improvements2009-07-06T18:39:17Z<p>Ddaniels: typo fix</p>
<hr />
<div>{{Moodle 2.0}}<br />
<br />
Moodle 1.9 introduced the tagging infrastructure. In Moodle 2.0 we should support tagging questions.<br />
<br />
With this added metadata, we should provide enhanced facilities for searching the question bank.<br />
<br />
In addition, we need to find a way to display all of this extra information. It will not all fit when viewing the question bank on the quiz editing page, so we need to start separating the question bank display that is used to add questions to a quiz, and the stand-alone question bank interface.<br />
<br />
This is MDL-16345.<br />
<br />
==Design==<br />
<br />
===Database changes===<br />
<br />
New column in the question table, allquestiontext. This is a concatenation of the questiontext, generalfeedback, and any question type specific text fields, with tags stripped. Used for full-text searching. Then change all the places where the question table is queried, to not return this column by default.<br />
<br />
To generate this column, we need a get_extra_question_text method in question types, to be called from the save_question method.<br />
<br />
===<strike>New capability</strike>===<br />
<br />
I used to thing that a separate moodle/question:tag capability would be a good idea. I now think it is an unnecessary complication. We will just rely on the standard moodle/question:edit.<br />
<br />
===UI for tagging questions===<br />
<br />
There will be a new field on the question editing page for editing the tags.<br />
<br />
===Question bank display changes===<br />
<br />
The code for rendering the question bank will be converting into a class. We will either have a abstract base class, and two sub-classes for viewing the question bank along, and within the quiz editing page; or the base class will be used for displaying the question bank alone, with one subclass for display within the quiz editing page.<br />
<br />
The code will be structured in such a way it is easy for subclasses (or people who want to customise the code) to control which columns are visible. Probably we will have a little class for each column (type) that controls rendering the heading and the data for a question, and generating the right sort clause and field names in the query. Then we will define the table as an array of column-class instances.<br />
<br />
Need to support 'columns' that take a whole extra row, like question text, as well as ones that fit into a &lt;td>.<br />
<br />
The compact view will look almost exactly as it does in Olli's new editing interface.<br />
<br />
In the full view, there will be new columns "Creator", "Created", "Modified" and "Tags" in addition to what we have now.<br />
<br />
We also need methods to customise exactly what appears at the top and bottom of the question bank display, and to control the new filtering UI.<br />
<br />
===Ways of filtering the question bank===<br />
<br />
====Sorting====<br />
<br />
Currently, you can sort the question bank by type, name, or age, using a non-standard interface - a drop-down menu of choices.<br />
<br />
Instead, make the question bank sortable by any column, using the standard click the column heading mechanism.<br />
<br />
====Searching====<br />
<br />
At the moment you can search by<br />
<br />
* question category, optionally including sub-categories<br />
* including hidden questions (deleted questions that were kept because they are still in use)<br />
<br />
Add searching by the following conditions:<br />
<br />
* question type<br />
* tags<br />
* creator<br />
* dates<br />
* full text search of the question<br />
<br />
To facilitate this, we will make a new question_bank_filter base class, with sub-classes for each filter type. These will encapsulate generating where clauses, providing a description of the condition for display to users, and generating interface for the advanced search form.<br />
<br />
===Question bank advanced search interface===<br />
<br />
A form for setting the search options. With JavaScript on, this will appear as a pop-up form like the repository file-picker, although when it is submitted, it will have to reload the whole page.<br />
<br />
==See also==<br />
<br />
* MDL-16345 Tracking bug for implementing these features.<br />
* [[Development:Developer_notes#Quiz_.26_question_types|Other quiz & question bank developer notes]]<br />
* MDL-11155 Show question author in the question bank<br />
* MDL-12787 Tagging for questions<br />
* [http://moodle.org/mod/forum/discuss.php?d=63728#p298237 Question Creation as A Student Activity - Phase 3]<br />
<br />
{{CategoryDeveloper}}<br />
[[Category:Developer|Question bank]]<br />
<br />
[[Category:Quiz]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=19940Database templates2007-02-03T05:42:10Z<p>Ddaniels: </p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as Open Office Writer or Microsoft Word. Keep in mind that saving templates fails at this time 3Feb7.<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)<br />
* ##More## creates a link to the single view, which may contain more detailed info<br />
* ##MoreURL## creates just the URL for the above link, useful for creating your own links. Please note that there is no any space between 'More' and 'URL'. You can click on the link icon and type ##MoreURL## into URL field or in source view type: <a href="##moreurl##"><nowiki>[[fieldname]]</nowiki></a><br />
* ##Delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)<br />
* ##Approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)<br />
* ##Comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)<br />
* ##User## creates a link to the user page of the user who submitted the entry, link text is their name<br />
<br />
Here's a video demonstrating tag usage:<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries. Saving a template will overwrite whatever template you have already saved. The ablility to create (and import and export) named templates for re-use is planned but not yet functional. Currently you can <br />
copy and paste your template for reuse elsewhere.<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide visual style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
== For those who want the display of Moodle Site's Modules and plugins ==<br />
[http://moodle.org/mod/forum/discuss.php?d=61179 The solution is here]<br />
<br />
==See also==<br />
<br />
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=55338 Look of the database module] forum discussion<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]<br />
<br />
[[fr:Modèles]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=19939Database templates2007-02-03T05:41:49Z<p>Ddaniels: Keep in mind that saving templates fails at this time.</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as Open Office Writer or Microsoft Word. Keep in mind that saving templates fails at this time.<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)<br />
* ##More## creates a link to the single view, which may contain more detailed info<br />
* ##MoreURL## creates just the URL for the above link, useful for creating your own links. Please note that there is no any space between 'More' and 'URL'. You can click on the link icon and type ##MoreURL## into URL field or in source view type: <a href="##moreurl##"><nowiki>[[fieldname]]</nowiki></a><br />
* ##Delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)<br />
* ##Approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)<br />
* ##Comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)<br />
* ##User## creates a link to the user page of the user who submitted the entry, link text is their name<br />
<br />
Here's a video demonstrating tag usage:<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries. Saving a template will overwrite whatever template you have already saved. The ablility to create (and import and export) named templates for re-use is planned but not yet functional. Currently you can <br />
copy and paste your template for reuse elsewhere.<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide visual style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
== For those who want the display of Moodle Site's Modules and plugins ==<br />
[http://moodle.org/mod/forum/discuss.php?d=61179 The solution is here]<br />
<br />
==See also==<br />
<br />
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=55338 Look of the database module] forum discussion<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]<br />
<br />
[[fr:Modèles]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=File:Upload_csv_sample.png&diff=19933File:Upload csv sample.png2007-02-03T05:13:21Z<p>Ddaniels: </p>
<hr />
<div>What a successful csv database upload looks like.</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=File:Upload_csv_sample.png&diff=19932File:Upload csv sample.png2007-02-03T05:12:37Z<p>Ddaniels: What a successful csv looks like.</p>
<hr />
<div>What a successful csv looks like.</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=File:Upload_entries.png&diff=19923File:Upload entries.png2007-02-03T04:49:40Z<p>Ddaniels: Upload entries for database using cvs</p>
<hr />
<div>Upload entries for database using cvs</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Development_talk:Forum&diff=12142Development talk:Forum2006-06-20T06:15:49Z<p>Ddaniels: </p>
<hr />
<div>Is any comments (prognoses) from developers about any dates/versions when each of things can be implemented?--[[User:Nashev|Nashev]] 07:11, 9 February 2006 (WST)<br />
<br />
I've noticed in <br />
http://moodle.org/bugs/query.php?title=&title_type=like&description=forum+rating&description_type=like&emailsearch1=email&email1=&emailtype1=like&emailfield1%5B%5D=owner&projects=&versions=&components=&op=doquery&order=severity.sort_order&sort=asc&savedqueryname=<br />
that a few have been posted for M2.0 --[[User:Dennis Daniels|Dennis Daniels]] 14:15, 20 June 2006 (WST)</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11961Database fields2006-06-14T14:06:50Z<p>Ddaniels: /* Field name and description */ Field names must be unique and they should be short, and sensible!</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique and they should be short, and sensible! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least some special characters are also stripped: '"...<br />
<br />
<br />
For ex: "I personally achieved..." will become <nowiki>_I_personally_achieved._</nowiki><br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
Max number of characters in text area = ?<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Groups_FAQ&diff=11934Groups FAQ2006-06-14T07:33:45Z<p>Ddaniels: /* How can I import a list of students into a group? */ ===How can I change the sort order of the participants?===</p>
<hr />
<div>==General==<br />
===What is the 'groups mode' setting?===<br />
<br />
There are three different groups mode – No groups, Separate Groups, Visible Groups. In ‘Separate groups’ mode, each group can only see their own group – other groups are invisible. In ‘Visible groups’ mode, each group works in their own group, but can also see other groups. <br />
<br />
===What is the 'force' setting?===<br />
<br />
If force is set to yes, then all activities are group activities. This overrides any settings for individual activities. If force is set to no, then activities are only group activities if they have been set to group mode. In this case, each activity requires to be set to group mode individually.<br />
<br />
===How do I assign a teacher to a group? Can a teacher be in more than one group?===<br />
<br />
You can assign a teacher to a group in exactly the same way that you assign a student to a group. In 1.5, a teacher cannot be in more than one group. This will change in 1.6. <br />
<br />
===How do I restrict a teacher to view only information about the groups that they are in?===<br />
<br />
For Separate Groups mode, if a teacher has edit rights set to yes, then they can see all groups. If a teacher has edit rights set to no, then they can see only the groups of which they are a member. <br />
<br />
===What determines whether students can see a teacher's profile?===<br />
<br />
A student can see the profile of all teachers that are members of their group or that have edit rights. <br />
<br />
===I have two groups that meet on different days. Can I set up activities for different times for the two groups?===<br />
<br />
Not currently. You can create a separate course for each class using backup and restore, though you do then have to update both courses. <br />
<br />
===Can I use the same groups for more than one course?===<br />
<br />
Not currently. There are two possible workarounds for this. The first is to give the students group enrolment keys, so they enrol themselves into the right group for each course. The other alternative is to create a master course with all the students enrolled and in the correct groups, and then to make each of the courses a metacourse (link) based on that master course (although the metacourse documentation claims that metacourses do not preserve groups, this seems to have been used by some people). See the documentation on [[Metacourses]]. <br />
<br />
===Can a student be a member of more than one group? Is it possible to have students not in any group?===<br />
<br />
In 1.5, a student cannot be a member of more than one group. This will change in 1.6. A student does not need to be in a group. <br />
<br />
===If I have several groups, can I make a specific activity visible to just one of those groups?===<br />
<br />
Not currently. You can however make a forum post visible to just one group. <br />
<br />
===Can I have one set of groups for Activity A and another set of groups for Activity B?===<br />
<br />
Not currently. <br />
<br />
===Is it possible to view all the groups in a course as a list to print out?===<br />
<br />
Not currently. <br />
<br />
===When I try to add a student, they are always added to the first group, whichever group I select?===<br />
<br />
Make sure that the students name does not include any punctuation. There is also a workaround – give each group a temporary name at the start of the alphabet, put your students in the group and then rename the group. <br />
<br />
==Activity modules and groups==<br />
<br />
Different activity modules vary as to how they treat groups – some have better support for groups than others! In general if you have questions about how an activity supports groups, you’re advised to post in the forum for the activity module, and not the groups forum. <br />
<br />
===What happens if I switch an activity from being in non-groups mode to being in groups mode?===<br />
<br />
This depends on the activity module in question.<br />
<br />
For forums, posts made before the forum is put into groups mode are visible to all students after you have put the forum into group mode. However students cannot reply to these posts if they have no group (i.e. blank). <br />
<br />
===What happens if I change the groups for an activity in groups mode e.g. if I move a student from one group to another?===<br />
<br />
Again this depends on the activity module. You may find that grades or activity logs are lost, so check for the specific activity module first. <br />
<br />
===How do I post a message in a forum that only one group can see?===<br />
<br />
Before you click 'Add a new topic', you need to choose the group from the Separate groups drop-down menu at the top left. <br />
<br />
===As a teacher I want to put the same post in each group's forum with students able to reply to that post. How can I do this?===<br />
<br />
You need to post the same message into the forum for each group. There is currently no way to do this in one go if you want students to be able to reply to your post. If you don't mind students not being able to reply, then you can of course just post the message to all participants.<br />
<br />
===How can I import a list of students into a group?===<br />
<br />
===How can I change the sort order of the participants?===<br />
[[Category:Teacher]]<br />
[[Category:Groups]]<br />
[[Category:FAQ]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Groups&diff=11929Groups2006-06-14T07:17:14Z<p>Ddaniels: /* Group modes */</p>
<hr />
<div>{{Course admin}}<br />
<br />
==Group administration==<br />
<br />
The '''Groups''' administration page, allows you to assign and maintain teachers and students in course groups. There are three columns:<br />
<br />
* ''People in the course'' - both assigned and unassigned participants.<br />
<br />
* ''Groups'' - A list of groups available for this course.<br />
<br />
* ''Members of selected group'' - When you select a group this column will display the members of that group<br />
<br />
Underneath each column are the options for that column. <br />
<br />
To create new groups, type the group name in the text box and click the adjacent ''Add new group'' button. You can add a description to this group using the ''Edit group settings'' button.<br />
<br />
To add a particpant(s) to a group you need to select their name in the first column (use shift or ctrl for multiple selections), select the group you wish to add them to from the centre column, and then click the ''Add selected to group ->'' button.<br />
<br />
To remove participants from a group, select the appropriate group to view members, select the participants to remove and click the ''Remove selected members'' button.<br />
<br />
==Multiple groups==<br />
{{Moodle 1.6}}<br />
Participants may be added to more than one group in Moodle 1.6.<br />
<br />
==Group modes==<br />
<br />
The group mode can be defined at two levels:<br />
<br />
* Course level - the group mode defined at the course level is the default mode for all activities defined within that course. This is determined in the course [[Settings|settings]]<br />
<br />
* Activity level - each activity that supports groups can also have its own group mode defined. If the course setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available i.e. there is no Groups icon [[Image:Groupn.gif]] next to activities on the course page. <br />
<br />
There are three group modes:<br />
<br />
;No groups<br />
:There are no sub groups, everyone is part of one big community.<br />
<br />
;Separate groups<br />
:Each group can only see their own group, others are invisible.<br />
<br />
;Visible groups<br />
:Each group works in their own group, but can also see other groups.<br />
<br />
==See also==<br />
<br />
*[[Groups FAQ]]<br />
*[http://moodle.org/mod/forum/view.php?id=1490 Using Moodle: Groups] forum<br />
<br />
[[Category:Teacher]]<br />
[[Category:Groups]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Groups&diff=11926Groups2006-06-14T07:01:45Z<p>Ddaniels: /* Group administration */</p>
<hr />
<div>{{Course admin}}<br />
<br />
==Group administration==<br />
<br />
The '''Groups''' administration page, allows you to assign and maintain teachers and students in course groups. There are three columns:<br />
<br />
* ''People in the course'' - both assigned and unassigned participants.<br />
<br />
* ''Groups'' - A list of groups available for this course.<br />
<br />
* ''Members of selected group'' - When you select a group this column will display the members of that group<br />
<br />
Underneath each column are the options for that column. <br />
<br />
To create new groups, type the group name in the text box and click the adjacent ''Add new group'' button. You can add a description to this group using the ''Edit group settings'' button.<br />
<br />
To add a particpant(s) to a group you need to select their name in the first column (use shift or ctrl for multiple selections), select the group you wish to add them to from the centre column, and then click the ''Add selected to group ->'' button.<br />
<br />
To remove participants from a group, select the appropriate group to view members, select the participants to remove and click the ''Remove selected members'' button.<br />
<br />
==Multiple groups==<br />
{{Moodle 1.6}}<br />
Participants may be added to more than one group in Moodle 1.6.<br />
<br />
==Group modes==<br />
<br />
The group mode can be defined at two levels:<br />
<br />
* Course level - the group mode defined at the course level is the default mode for all activities defined within that course. This is determined in the course [[Settings|settings]]<br />
<br />
* Activity level - each activity that supports groups can also have its own group mode defined. If the course setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available i.e. there is no Groups icon [[Image:Groupn.gif]] next to activities on the course page. <br />
<br />
There are three group modes:<br />
<br />
;No groups<br />
:There are no sub groups, everyone is part of one big community<br />
<br />
;Separate groups<br />
:Each group can only see their own group, others are invisible<br />
<br />
;Visible groups<br />
:Each group works in their own group, but can also see other groups<br />
<br />
==See also==<br />
<br />
*[[Groups FAQ]]<br />
*[http://moodle.org/mod/forum/view.php?id=1490 Using Moodle: Groups] forum<br />
<br />
[[Category:Teacher]]<br />
[[Category:Groups]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Groups&diff=11924Groups2006-06-14T07:01:02Z<p>Ddaniels: /* Group administration */ correction : matching interface to phrase: * ''People in the course'' - Currently unassigned participants.</p>
<hr />
<div>{{Course admin}}<br />
<br />
==Group administration==<br />
<br />
The '''Groups''' administration page, allows you to assign and maintain teachers and students in course groups. There are three columns:<br />
<br />
* ''People in the course'' - Currently unassigned participants.<br />
<br />
* ''Groups'' - A list of groups available for this course.<br />
<br />
* ''Members of selected group'' - When you select a group this column will display the members of that group<br />
<br />
Underneath each column are the options for that column. <br />
<br />
To create new groups, type the group name in the text box and click the adjacent ''Add new group'' button. You can add a description to this group using the ''Edit group settings'' button.<br />
<br />
To add a particpant(s) to a group you need to select their name in the first column (use shift or ctrl for multiple selections), select the group you wish to add them to from the centre column, and then click the ''Add selected to group ->'' button.<br />
<br />
To remove participants from a group, select the appropriate group to view members, select the participants to remove and click the ''Remove selected members'' button.<br />
<br />
==Multiple groups==<br />
{{Moodle 1.6}}<br />
Participants may be added to more than one group in Moodle 1.6.<br />
<br />
==Group modes==<br />
<br />
The group mode can be defined at two levels:<br />
<br />
* Course level - the group mode defined at the course level is the default mode for all activities defined within that course. This is determined in the course [[Settings|settings]]<br />
<br />
* Activity level - each activity that supports groups can also have its own group mode defined. If the course setting "Force group mode" is set to "Yes" then the option to define the group mode for individual activities is not available i.e. there is no Groups icon [[Image:Groupn.gif]] next to activities on the course page. <br />
<br />
There are three group modes:<br />
<br />
;No groups<br />
:There are no sub groups, everyone is part of one big community<br />
<br />
;Separate groups<br />
:Each group can only see their own group, others are invisible<br />
<br />
;Visible groups<br />
:Each group works in their own group, but can also see other groups<br />
<br />
==See also==<br />
<br />
*[[Groups FAQ]]<br />
*[http://moodle.org/mod/forum/view.php?id=1490 Using Moodle: Groups] forum<br />
<br />
[[Category:Teacher]]<br />
[[Category:Groups]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Groups_FAQ&diff=11923Groups FAQ2006-06-14T06:55:38Z<p>Ddaniels: ===How can I import a list of students into a group?===</p>
<hr />
<div>==General==<br />
===What is the 'groups mode' setting?===<br />
<br />
There are three different groups mode – No groups, Separate Groups, Visible Groups. In ‘Separate groups’ mode, each group can only see their own group – other groups are invisible. In ‘Visible groups’ mode, each group works in their own group, but can also see other groups. <br />
<br />
===What is the 'force' setting?===<br />
<br />
If force is set to yes, then all activities are group activities. This overrides any settings for individual activities. If force is set to no, then activities are only group activities if they have been set to group mode. In this case, each activity requires to be set to group mode individually.<br />
<br />
===How do I assign a teacher to a group? Can a teacher be in more than one group?===<br />
<br />
You can assign a teacher to a group in exactly the same way that you assign a student to a group. In 1.5, a teacher cannot be in more than one group. This will change in 1.6. <br />
<br />
===How do I restrict a teacher to view only information about the groups that they are in?===<br />
<br />
For Separate Groups mode, if a teacher has edit rights set to yes, then they can see all groups. If a teacher has edit rights set to no, then they can see only the groups of which they are a member. <br />
<br />
===What determines whether students can see a teacher's profile?===<br />
<br />
A student can see the profile of all teachers that are members of their group or that have edit rights. <br />
<br />
===I have two groups that meet on different days. Can I set up activities for different times for the two groups?===<br />
<br />
Not currently. You can create a separate course for each class using backup and restore, though you do then have to update both courses. <br />
<br />
===Can I use the same groups for more than one course?===<br />
<br />
Not currently. There are two possible workarounds for this. The first is to give the students group enrolment keys, so they enrol themselves into the right group for each course. The other alternative is to create a master course with all the students enrolled and in the correct groups, and then to make each of the courses a metacourse (link) based on that master course (although the metacourse documentation claims that metacourses do not preserve groups, this seems to have been used by some people). See the documentation on [[Metacourses]]. <br />
<br />
===Can a student be a member of more than one group? Is it possible to have students not in any group?===<br />
<br />
In 1.5, a student cannot be a member of more than one group. This will change in 1.6. A student does not need to be in a group. <br />
<br />
===If I have several groups, can I make a specific activity visible to just one of those groups?===<br />
<br />
Not currently. You can however make a forum post visible to just one group. <br />
<br />
===Can I have one set of groups for Activity A and another set of groups for Activity B?===<br />
<br />
Not currently. <br />
<br />
===Is it possible to view all the groups in a course as a list to print out?===<br />
<br />
Not currently. <br />
<br />
===When I try to add a student, they are always added to the first group, whichever group I select?===<br />
<br />
Make sure that the students name does not include any punctuation. There is also a workaround – give each group a temporary name at the start of the alphabet, put your students in the group and then rename the group. <br />
<br />
==Activity modules and groups==<br />
<br />
Different activity modules vary as to how they treat groups – some have better support for groups than others! In general if you have questions about how an activity supports groups, you’re advised to post in the forum for the activity module, and not the groups forum. <br />
<br />
===What happens if I switch an activity from being in non-groups mode to being in groups mode?===<br />
<br />
This depends on the activity module in question.<br />
<br />
For forums, posts made before the forum is put into groups mode are visible to all students after you have put the forum into group mode. However students cannot reply to these posts if they have no group (i.e. blank). <br />
<br />
===What happens if I change the groups for an activity in groups mode e.g. if I move a student from one group to another?===<br />
<br />
Again this depends on the activity module. You may find that grades or activity logs are lost, so check for the specific activity module first. <br />
<br />
===How do I post a message in a forum that only one group can see?===<br />
<br />
Before you click 'Add a new topic', you need to choose the group from the Separate groups drop-down menu at the top left. <br />
<br />
===As a teacher I want to put the same post in each group's forum with students able to reply to that post. How can I do this?===<br />
<br />
You need to post the same message into the forum for each group. There is currently no way to do this in one go if you want students to be able to reply to your post. If you don't mind students not being able to reply, then you can of course just post the message to all participants.<br />
<br />
===How can I import a list of students into a group?===<br />
<br />
[[Category:Teacher]]<br />
[[Category:Groups]]<br />
[[Category:FAQ]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11840Database fields2006-06-12T09:05:00Z<p>Ddaniels: /* Field name and description */</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least some special characters are also stripped: '"...<br />
<br />
<br />
For ex: "I personally achieved..." will become <nowiki>_I_personally_achieved._</nowiki><br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
Max number of characters in text area = ?<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11839Database fields2006-06-12T09:03:48Z<p>Ddaniels: /* Field name and description */</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least one special character is also stripped: '"...<br />
For ex: "I personally achieved..." will become <nowiki>_I_personally_achieved._</nowiki><br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
Max number of characters in text area = ?<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11838Database fields2006-06-12T09:00:14Z<p>Ddaniels: /* Textarea */</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least one special character is also stripped: '<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
Max number of characters in text area = ?<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11837Database fields2006-06-12T08:59:48Z<p>Ddaniels: /* Textarea */</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least one special character is also stripped: '<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
;Max number of characters in text area = ?<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11836Database fields2006-06-12T08:56:07Z<p>Ddaniels: /* Field name and description */ spec. char. stripping</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores. It appears that at least one special character is also stripped: '<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11829Database fields2006-06-12T07:06:14Z<p>Ddaniels: /* Field name and description */ Spaces in your field names will automatically be_filled_with_underscores.</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
Spaces in your field names will automatically be_filled_with_underscores.<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11828Database fields2006-06-12T06:55:24Z<p>Ddaniels: /* Field name and description */ Moodle will not warn you before submitting that you are using a duplicate field name.</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. <br />
NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type. Field names must be unique! Moodle will not warn you before submitting that you are using a duplicate field name.<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_fields&diff=11827Database fields2006-06-12T06:51:54Z<p>Ddaniels: /* Field name and description */ NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type.</p>
<hr />
<div>{{Databases}}<br />
<br />
A '''field''' is a named unit of information. Each entry in a [[Database module|database]] can have multiple fields of multiple types e.g. a text field called 'favourite color' which allows you to type in your favourite shade, or a menu called 'state' that lets you choose one from a list of the 50 that make up the United States of America. By combining several fields with appropriate names and types you should be able to capture all the relevant information about the items in your database.<br />
<br />
== Field name and description ==<br />
<br />
All fields ask you for a name and a description when you create them. NB: You cannot change the field type after it's saved. You'll have to create a new field with desired field type.<br />
<br />
== Field types ==<br />
<br />
=== Checkbox ===<br />
<br />
Allows one or more checkboxes. Each line in the options box is a different checkbox. The text entered is what will be the case if the checkbox is checked e.g. 'valid' for something that can be valid or not. This word will appear beside the checkbox on entry, and then by itself when viewing if the box has been checked. If you wish to ensure that the user actively selects one of the options you can use [[Fields#Radio buttons|radio buttons]] instead<br />
<br />
Multiple checboxes could be use, for example, in a movie database that has Horror, Comedy, Western etc. checkboxes for different film genres, and you would be able to check more than one in the case of Horror-Comedies or Comedy-Westerns. The [[Fields#Menu (multi-select)|menu (multi-select)]] field also achieves this, but clicking multiple checkboxes is usually a more obvious interface.<br />
<br />
=== Date ===<br />
<br />
Allows users to enter a date by picking a day, month and year from a drop down list.<br />
<br />
=== File ===<br />
<br />
Asks users to upload a file from their computer. If it is an image file then the picture field may be a better choice.<br />
<br />
=== Menu ===<br />
<br />
The text entered in the ''options'' area will be presented as a drop-down list for the user to choose from. Each line become a different option.<br />
<br />
=== Menu (Multi-select) ===<br />
<br />
The text entered in the ''options'' area will be presented as a list for the user to choose from and each line become a different option. By holding down control or shift as they click, users will be able to select multiple options. This is a fairly advanced computer skill so it may be wise to use multiple checkboxes instead.<br />
<br />
=== Number ===<br />
<br />
Asks the user to enter a number. The number must be an integer, though it can be negative ( e.g. ...,-2,-1,0,1,2,3,...). If you enter anything else but numbers and a leading minus sign the number will be truncated or converted to zero e.g. "3.14" becomes "3", "1,000,000" becomes "1" and "six" becomes "0".<br />
<br />
=== Picture ===<br />
<br />
The user can upload an image file from their computer.<br />
<br />
=== Radio buttons ===<br />
<br />
Allows the user to choose one from a range of options. If the user doesn't select any of these options then they will be prompted to do so and can only submit the entry when one option is chosen.<br />
<br />
If you only have two options and they are opposites (true/false, yes/no) then you could simply use a single checkbox instead. However checkboxes default to their unchecked status and so people could submit without actively selecting one of the options. This may not always be appropriate.<br />
<br />
=== Text ===<br />
<br />
Users can enter text up to 60 characters in length. For longer text, or for text that requires formatting such as headers and bullet points, you can use a textarea field.<br />
<br />
=== Textarea ===<br />
<br />
Allows users to enter a long piece of text including formatting similar to that found when creating forum posts.<br />
<br />
=== URL ===<br />
<br />
Ask the user to enter a URL. If you select ''autolink'' then the URL becomes a clickable link. If you also enter a ''forced name for the link'' then that text will be used for the hyperlink. For example in a database of authors you may wish people to enter the author's website. If you enter the text 'homepage' as a forced name then clicking on text "homepage" will take you to the entered URL.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11825Database templates2006-06-12T06:44:07Z<p>Ddaniels: NB: Templates is a misnomer. At this time 9June6 only one template per database is possible.</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]]. <br />
NB: Templates is a misnomer. At this time, 12June6, only one template per database is possible.<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)<br />
* ##More## creates a link to the single view, which may contain more detailed info<br />
* ##MoreURL## creates just the URL for the above link, useful for creating your own links<br />
* ##Delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)<br />
* ##Approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)<br />
* ##Comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)<br />
* ##User## creates a link to the user page of the user who submitted the entry, link text is their name<br />
<br />
Here's a video demonstrating tag usage:<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries.<br />
Note! Adding a template will overwrite whatever template you have already saved! Essentially, there is only one template per database at this time! <br />
===tip===<br />
Save your html from your template and paste it into the editor for reuse elsewhere.<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide visual style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
<br />
== Saving ==<br />
At this time, there appears to be no way to save more than one template in the database module except for copying and pasting the html into a separate location.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Question_types&diff=11818Question types2006-06-12T04:45:16Z<p>Ddaniels: /* TIP */</p>
<hr />
<div>{{Questions}}<br />
<br />
You may add a variety of different types of questions in the Quiz module:<br />
<br />
==Multiple choice==<br />
Moodle provides you with a lot of flexibility when creating this common question type. Figure 5-5 shows an example question. You can create single answer and multiple answer questions, display pictures in the question and weight individual answers. <br />
<br />
Figure 5-5. A multiple-choice question<br />
<br />
There are two types of multiple choice questions - single answer and multiple answer.<br />
<br />
;Single-answer questions<br />
:These questions allow one and only one answer to be chosen by providing radio buttons next to the answers. You will specify non-negative marks for each answer, usually zero marks for wrong answers, maximum marks for correct answers and partial marks for partially correct answers.<br />
<br />
;Multiple-answer questions <br />
:These questions allow one or more answers to be chosen by providing check boxes next to the answers. Each answer may carry a positive or negative grade, so that choosing ALL the options will not necessarily result in good grade. If the total grade is negative then the total grade for this question will be zero. Careful: it is possible to create questions that have scores greater than 100%.<br />
<br />
Figure 5-6 shows the multiple choice editing page. <br />
<br />
Figure 5-6. Editing a Multiple Choice Question<br />
<br />
To set up a multiple choice question you proceed as follows:<br />
<br />
#Start out by giving the question a descriptive name. You’ll use the name to track your questions later so “Question 1” isn’t a good idea. The name will be used in the question lists on the quiz editing page. It will not be shown to the students, so you can choose any name that makes sense to you and possibly other teachers.<br />
<br />
#Create the question text. If you’re using the HTML Editor, you can format the question just like a word processing document<br />
#If you want to add an image to the question, you have two options<br />
##If you’ve already uploaded an image to your Files area (see Chapter 4 for details), it will be available to add to the question stem in a dropdown menu under the Question text area<br />
##If you’re using the HTML editor, you can click the image icon. This will pop-up the Insert Image window. You can choose to upload an image into your files area from this window, or you can add the URL of an image on the web. If you add a file to your files area, click the name of the file after you upload it to insert the link into the URL text entry at the top of the screen. Then click OK.<br />
#Choose whether students can only select one answer or multiple answers<br />
#Write your first answer in the Choice 1 text field.<br />
#Select a grade percentage for the answer. This is the percentage of the total points for the question that selecting this response is worth. You can select negative percentages as well as positive percentages. So if a question is worth 10 points, selecting a correct response in a multiple answer question may give you 50% of the possible points. Selecting a wrong answer may take away 10%. <br />
#If you wish, you can add feedback for each response. It may be a bit ore work, but it’s good practice to tell the students why each answer is right or wrong using the feedback area. If students know why an answer is right or wrong, they can analyze their own thinking and being to understand why an answer is correct. Your feedback will only be displayed if you select Show Feedback in the quiz body options.<br />
#Fill in the rest of the response choices in the rest of the form. Any unused areas will be ignored.<br />
#Select the “Save Changes” button at the bottom of the screen.<br />
<br />
You have now added a multiple choice question to the question category.<br />
<br />
==Short answer==<br />
<br />
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. <br />
<br />
To create a short answer question:<br />
#Give your question a descriptive name<br />
#Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?<br />
#Next, fill in the answers you will accept. You can give each answer a percentage of the grade as well. You could give common misspellings partial credit with this option. If the "Case sensitive" option is selected, then you can have different scores for "Word" or "word".<br />
#Create feedback for each acceptable answer.<br />
#Click Save Changes to add the question to the category<br />
<br />
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use ran*ing to match any word or phrase starting with "ran" and ending with "ing". If you really do want to match an asterisk then use a backslash like this: \*<br />
<br />
If you want one question with the two answers fuel and oxygen, you ought to be able to limit the number of variants by writing:<br />
fuel*oxygen 100%<br />
would accept "fuel oxygen" "fuel, oxygen" "fuel; oxygen" "fuel and oxygen" "fuel oxygen" {two spaces} "fuel & oxygen" "fuel oxygen" "fuel und oxygen" "fuel&&oxygen" it would even accept "fuel or oxygen" "fuel but not oxygen" "fuel|oxygen" which might not be so good but you can never be completely safe!<br />
oxygen*fuel 100%<br />
*fuel* 50%<br />
(the order of the answers is important since it stops checking with the first alternative that is satisfied)<br />
*oxygen* 50%<br />
*air* 40% maybe etc<br />
<br />
Without wildcards the answers are compared exactly, so be careful with your spelling!<br />
<br />
You may like to prototype your short answer questions to catch common acceptable answers you hadn’t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students’ answers and add their acceptable answers to the list.<br />
<br />
==Numerical==<br />
<br />
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. <br />
<br />
For example, if the answer is 30 with an accepted error of 5, then any number between 25 and 35 will be accepted as correct.<br />
<br />
Numerical questions can also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like N/A, +inf, -inf, NaN etc.<br />
<br />
Figure 5-8. Numerical Question<br />
<br />
To create a numerical question<br />
#Give the question a descriptive name (This is only seen in the question list that you see as a teacher when you are putting together a quiz)<br />
#Type the equation or numerical question for your students to solve<br />
Moodle has a various text filters that allow you to type an equation and have it properly typeset when displayed. The Moodle Algebra filter is very good for writing common matematical expressions in a simple way. More complicated expressions can use the TeX syntax. If they don't work the administrator may have not enabled them.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Enter the correct answer. 23.4 23,4 and 2.34E+1 would all work. (you can only add one correct answer in the user interface. If you import the question with a GIFT format file you can specifiy multiple answer(intervals) with accompanying feedback and point-percentage. This is done similar to the CLOZE [[Numerical]] format. There is no units support in the Cloze type.) It is possible, though not simple, to get support for several answer intervals '''and''' unit support if you create the question in the numerical interface and export it in Moodle XML format. Than you can duplicate the <answer> segment and put in another answer interval and the feedback and grading factor you want for that interval. Than import it again. You will not be able to edit the question in the normal numerical interface though.<br />
#Enter the accepted error, the range above or below the correct answer. For example, if the correct answer is 5, but you will accept 4 or 6 as answers, your accepted error is 1.<br />
#Enter feedback for the question. It is possible to use all kinds of HTML formating for the feedback but it must be written by hand. Unfortunately (in 1.5.3 anyhow) it is right justified and has no identifying formatting. <br />
#Units can be specified and work to a degree. Unfortunately if the student answers with the right number but no unit he can get full points. And if he thinks of another unit and has the right number and no unit, he gets no differentiated feedback, just wrong. You must also give the conversion factor . So if your main answer was '''5500''' with unit '''W''' and you wanted to allow the unit '''kW''' you would have to specify the factor '''0.001'''. If you wanted to allow '''Watt''' you would use the factor '''1'''.<br />
#Click Save Changes to add the question to the category<br />
<br />
==True/false==<br />
<br />
In response to a question (that may include an image), the respondent selects from two options: True or False. <br />
<br />
If feedback is enabled, then the appropriate feedback message is shown to the respondent after answering the quiz. For example, if the correct answer is "False", but they answer "True" (getting it wrong) then the "True" feedback is shown.<br />
<br />
==Matching==<br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question. <br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
NB: Matching questions do not support feedback.<br />
===TIP===<br />
Put the long part of your question in the question and not the match ergo for a vocabulary matching put the word in the match and the definition in the question. Otherwise the drop down for long questions will be essentially unreadable by the users.<br />
<br />
==Embedded answers (Cloze)==<br />
<br />
[[Cloze|Embedded answers (Cloze)]] questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and [[Numerical]] answers. <br />
<br />
There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.<br />
<br />
==Random short-answer matching==<br />
<br />
From the student perspective, this looks just like a Matching question. The difference is that the subquestions are drawn randomly from Short Answer questions in the current category. <br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question.<br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
The questions and answers are randomly drawn from the pool of "Short Answer" questions in the current category. Each attempt on a quiz will have different questions and answers.<br />
<br />
==Description==<br />
<br />
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a following group of questions, for example. <br />
<br />
==Calculated==<br />
<br />
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken.<br />
<br />
==Essay==<br />
<br />
In response to a question (that may include an image) the respondent writes an answer in essay format. Three fields may be edited when creating the essay question: the question title, the body of the question, and feedback that can be displayed at a time chosen by the facilitator.<br />
<br />
The essay question will not be assigned a grade until it has been reviewed by a teacher or facilitator by using the Manual Grading feature. When manually grading an essay question, the grader will be able to enter a custom comment in response to the respondent's essay and be able to assign a score for the essay.<br />
<br />
==Third-party question types==<br />
<br />
Besides the question types described above that are part of the core Moodle distribution there are question type plugins contributed by the community. <br />
===Drag and Drop===<br />
<br />
Please see the [[Drag and Drop question tutorial]] for more information.<br />
<br />
===Molecule design===<br />
<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.<br />
<br />
===Regular Expression Short Answer===<br />
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an "open" question with a word or a short phrase. However, using so-called '''regular expressions''' gives you access to a more powerful system for analysing the student's answers and thus providing more adapted feedback messages.<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=338 Regular Expression Short Answer question type] is available '''''for Moodle 1.6''''' from the Modules and plugins database.<br />
--[[User:Joseph Rézeau|Joseph Rézeau]] 22:49, 25 May 2006 (WST)<br />
<br />
===Rendered Matching===<br />
Need some mention of what this is or will be.--[[User:Dennis Daniels|Dennis Daniels]] 14:09, 6 June 2006 (WST)<br />
<br />
[[Category:Quiz]]<br />
[[Category:Teacher]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Question_types&diff=11817Question types2006-06-12T04:44:24Z<p>Ddaniels: /* Matching */ ===TIP===</p>
<hr />
<div>{{Questions}}<br />
<br />
You may add a variety of different types of questions in the Quiz module:<br />
<br />
==Multiple choice==<br />
Moodle provides you with a lot of flexibility when creating this common question type. Figure 5-5 shows an example question. You can create single answer and multiple answer questions, display pictures in the question and weight individual answers. <br />
<br />
Figure 5-5. A multiple-choice question<br />
<br />
There are two types of multiple choice questions - single answer and multiple answer.<br />
<br />
;Single-answer questions<br />
:These questions allow one and only one answer to be chosen by providing radio buttons next to the answers. You will specify non-negative marks for each answer, usually zero marks for wrong answers, maximum marks for correct answers and partial marks for partially correct answers.<br />
<br />
;Multiple-answer questions <br />
:These questions allow one or more answers to be chosen by providing check boxes next to the answers. Each answer may carry a positive or negative grade, so that choosing ALL the options will not necessarily result in good grade. If the total grade is negative then the total grade for this question will be zero. Careful: it is possible to create questions that have scores greater than 100%.<br />
<br />
Figure 5-6 shows the multiple choice editing page. <br />
<br />
Figure 5-6. Editing a Multiple Choice Question<br />
<br />
To set up a multiple choice question you proceed as follows:<br />
<br />
#Start out by giving the question a descriptive name. You’ll use the name to track your questions later so “Question 1” isn’t a good idea. The name will be used in the question lists on the quiz editing page. It will not be shown to the students, so you can choose any name that makes sense to you and possibly other teachers.<br />
<br />
#Create the question text. If you’re using the HTML Editor, you can format the question just like a word processing document<br />
#If you want to add an image to the question, you have two options<br />
##If you’ve already uploaded an image to your Files area (see Chapter 4 for details), it will be available to add to the question stem in a dropdown menu under the Question text area<br />
##If you’re using the HTML editor, you can click the image icon. This will pop-up the Insert Image window. You can choose to upload an image into your files area from this window, or you can add the URL of an image on the web. If you add a file to your files area, click the name of the file after you upload it to insert the link into the URL text entry at the top of the screen. Then click OK.<br />
#Choose whether students can only select one answer or multiple answers<br />
#Write your first answer in the Choice 1 text field.<br />
#Select a grade percentage for the answer. This is the percentage of the total points for the question that selecting this response is worth. You can select negative percentages as well as positive percentages. So if a question is worth 10 points, selecting a correct response in a multiple answer question may give you 50% of the possible points. Selecting a wrong answer may take away 10%. <br />
#If you wish, you can add feedback for each response. It may be a bit ore work, but it’s good practice to tell the students why each answer is right or wrong using the feedback area. If students know why an answer is right or wrong, they can analyze their own thinking and being to understand why an answer is correct. Your feedback will only be displayed if you select Show Feedback in the quiz body options.<br />
#Fill in the rest of the response choices in the rest of the form. Any unused areas will be ignored.<br />
#Select the “Save Changes” button at the bottom of the screen.<br />
<br />
You have now added a multiple choice question to the question category.<br />
<br />
==Short answer==<br />
<br />
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. <br />
<br />
To create a short answer question:<br />
#Give your question a descriptive name<br />
#Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?<br />
#Next, fill in the answers you will accept. You can give each answer a percentage of the grade as well. You could give common misspellings partial credit with this option. If the "Case sensitive" option is selected, then you can have different scores for "Word" or "word".<br />
#Create feedback for each acceptable answer.<br />
#Click Save Changes to add the question to the category<br />
<br />
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use ran*ing to match any word or phrase starting with "ran" and ending with "ing". If you really do want to match an asterisk then use a backslash like this: \*<br />
<br />
If you want one question with the two answers fuel and oxygen, you ought to be able to limit the number of variants by writing:<br />
fuel*oxygen 100%<br />
would accept "fuel oxygen" "fuel, oxygen" "fuel; oxygen" "fuel and oxygen" "fuel oxygen" {two spaces} "fuel & oxygen" "fuel oxygen" "fuel und oxygen" "fuel&&oxygen" it would even accept "fuel or oxygen" "fuel but not oxygen" "fuel|oxygen" which might not be so good but you can never be completely safe!<br />
oxygen*fuel 100%<br />
*fuel* 50%<br />
(the order of the answers is important since it stops checking with the first alternative that is satisfied)<br />
*oxygen* 50%<br />
*air* 40% maybe etc<br />
<br />
Without wildcards the answers are compared exactly, so be careful with your spelling!<br />
<br />
You may like to prototype your short answer questions to catch common acceptable answers you hadn’t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students’ answers and add their acceptable answers to the list.<br />
<br />
==Numerical==<br />
<br />
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. <br />
<br />
For example, if the answer is 30 with an accepted error of 5, then any number between 25 and 35 will be accepted as correct.<br />
<br />
Numerical questions can also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like N/A, +inf, -inf, NaN etc.<br />
<br />
Figure 5-8. Numerical Question<br />
<br />
To create a numerical question<br />
#Give the question a descriptive name (This is only seen in the question list that you see as a teacher when you are putting together a quiz)<br />
#Type the equation or numerical question for your students to solve<br />
Moodle has a various text filters that allow you to type an equation and have it properly typeset when displayed. The Moodle Algebra filter is very good for writing common matematical expressions in a simple way. More complicated expressions can use the TeX syntax. If they don't work the administrator may have not enabled them.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Enter the correct answer. 23.4 23,4 and 2.34E+1 would all work. (you can only add one correct answer in the user interface. If you import the question with a GIFT format file you can specifiy multiple answer(intervals) with accompanying feedback and point-percentage. This is done similar to the CLOZE [[Numerical]] format. There is no units support in the Cloze type.) It is possible, though not simple, to get support for several answer intervals '''and''' unit support if you create the question in the numerical interface and export it in Moodle XML format. Than you can duplicate the <answer> segment and put in another answer interval and the feedback and grading factor you want for that interval. Than import it again. You will not be able to edit the question in the normal numerical interface though.<br />
#Enter the accepted error, the range above or below the correct answer. For example, if the correct answer is 5, but you will accept 4 or 6 as answers, your accepted error is 1.<br />
#Enter feedback for the question. It is possible to use all kinds of HTML formating for the feedback but it must be written by hand. Unfortunately (in 1.5.3 anyhow) it is right justified and has no identifying formatting. <br />
#Units can be specified and work to a degree. Unfortunately if the student answers with the right number but no unit he can get full points. And if he thinks of another unit and has the right number and no unit, he gets no differentiated feedback, just wrong. You must also give the conversion factor . So if your main answer was '''5500''' with unit '''W''' and you wanted to allow the unit '''kW''' you would have to specify the factor '''0.001'''. If you wanted to allow '''Watt''' you would use the factor '''1'''.<br />
#Click Save Changes to add the question to the category<br />
<br />
==True/false==<br />
<br />
In response to a question (that may include an image), the respondent selects from two options: True or False. <br />
<br />
If feedback is enabled, then the appropriate feedback message is shown to the respondent after answering the quiz. For example, if the correct answer is "False", but they answer "True" (getting it wrong) then the "True" feedback is shown.<br />
<br />
==Matching==<br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question. <br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
NB: Matching questions do not support feedback.<br />
===TIP===<br />
Put the long part of your question in the question and not the match ergo for a vocabulary matching put the word in the match and the definition in the question.<br />
<br />
==Embedded answers (Cloze)==<br />
<br />
[[Cloze|Embedded answers (Cloze)]] questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and [[Numerical]] answers. <br />
<br />
There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.<br />
<br />
==Random short-answer matching==<br />
<br />
From the student perspective, this looks just like a Matching question. The difference is that the subquestions are drawn randomly from Short Answer questions in the current category. <br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question.<br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
The questions and answers are randomly drawn from the pool of "Short Answer" questions in the current category. Each attempt on a quiz will have different questions and answers.<br />
<br />
==Description==<br />
<br />
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a following group of questions, for example. <br />
<br />
==Calculated==<br />
<br />
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken.<br />
<br />
==Essay==<br />
<br />
In response to a question (that may include an image) the respondent writes an answer in essay format. Three fields may be edited when creating the essay question: the question title, the body of the question, and feedback that can be displayed at a time chosen by the facilitator.<br />
<br />
The essay question will not be assigned a grade until it has been reviewed by a teacher or facilitator by using the Manual Grading feature. When manually grading an essay question, the grader will be able to enter a custom comment in response to the respondent's essay and be able to assign a score for the essay.<br />
<br />
==Third-party question types==<br />
<br />
Besides the question types described above that are part of the core Moodle distribution there are question type plugins contributed by the community. <br />
===Drag and Drop===<br />
<br />
Please see the [[Drag and Drop question tutorial]] for more information.<br />
<br />
===Molecule design===<br />
<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.<br />
<br />
===Regular Expression Short Answer===<br />
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an "open" question with a word or a short phrase. However, using so-called '''regular expressions''' gives you access to a more powerful system for analysing the student's answers and thus providing more adapted feedback messages.<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=338 Regular Expression Short Answer question type] is available '''''for Moodle 1.6''''' from the Modules and plugins database.<br />
--[[User:Joseph Rézeau|Joseph Rézeau]] 22:49, 25 May 2006 (WST)<br />
<br />
===Rendered Matching===<br />
Need some mention of what this is or will be.--[[User:Dennis Daniels|Dennis Daniels]] 14:09, 6 June 2006 (WST)<br />
<br />
[[Category:Quiz]]<br />
[[Category:Teacher]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11709Import questions2006-06-08T06:35:38Z<p>Ddaniels: /* Moodle XML */</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions. ;Sample of the formatting here.<br />
==Blackboard==<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
== Course Test Manager ==<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example with an embeded image or the DTD posted here.<br />
<br />
<br />
----<br />
<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
<br />
----<br />
<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11708Import questions2006-06-08T06:35:17Z<p>Ddaniels: /* Moodle XML */</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions. ;Sample of the formatting here.<br />
==Blackboard==<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
== Course Test Manager ==<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example or the DTD posted here.<br />
<br />
<br />
----<br />
<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
<br />
----<br />
<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11707Import questions2006-06-08T06:35:04Z<p>Ddaniels: /* Moodle XML */</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions. ;Sample of the formatting here.<br />
==Blackboard==<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
== Course Test Manager ==<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example or the DTD posted here.<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
<br />
----<br />
<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11706Import questions2006-06-08T06:34:39Z<p>Ddaniels: /* AON */ more formatting</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions. ;Sample of the formatting here.<br />
==Blackboard==<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
== Course Test Manager ==<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example or the DTD posted here.<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11705Import questions2006-06-08T06:33:49Z<p>Ddaniels: /* WebCT */ more formatting</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions<br />
;Blackboard<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
== Course Test Manager ==<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example or the DTD posted here.<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Import_questions&diff=11704Import questions2006-06-08T06:32:57Z<p>Ddaniels: formatting and mention of XML formatting docs needed</p>
<hr />
<div>{{Questions}}<br />
<br />
If you have questions from a textbook question bank, or if you don’t want to use the web interface to create your questions, you can import them from a text file. Moodle supports eight formats natively, and provides an easy way of creating new importers if you know a little PHP.<br />
<br />
Once you get to know a format, it may be easier to simply type them into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.<br />
<br />
The formats available by default include:<br />
<br />
== GIFT ==<br />
<br />
:With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.<br />
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Aiken ==<br />
<br />
:Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.[[Image:Aiken_format.gif|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== Missing Word ==<br />
<br />
:If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.<br />
[[Image:Missing_word.jpg|frame|left|screen shot from quiz help file documentation]]<br style="clear:both;"><br />
<br />
<br />
== AON ==<br />
<br />
:The same as the missing word format, except it creates matching questions from the multiple choice questions<br />
;Blackboard<br />
:If you’re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format<br />
<br />
== WebCT ==<br />
<br />
:Currently, the WebCT format only supports importing multiple-choice and short answers questions<br />
;Course Test Manager<br />
:This will enable you to import questions from the Course Test Manager from Course Technology<br />
<br />
== Embedded Answers (Cloze) ==<br />
<br />
:The Cloze format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions<br />
<br />
== Moodle XML ==<br />
Need an example or the DTD posted here.<br />
<br />
The help file available from the help button next to the import file button gives a lot of detail about each format.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11696Database templates2006-06-08T05:19:58Z<p>Ddaniels: /* Add template */ Adding a template will overwrite whatever template you have already saved! Essentially, there is only one template per database at this time!</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)<br />
* ##More## creates a link to the single view, which may contain more detailed info<br />
* ##MoreURL## creates just the URL for the above link, useful for creating your own links<br />
* ##Delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)<br />
* ##Approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)<br />
* ##Comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)<br />
* ##User## creates a link to the user page of the user who submitted the entry, link text is their name<br />
<br />
Here's a video demonstrating tag usage:<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries.<br />
Note! Adding a template will overwrite whatever template you have already saved! Essentially, there is only one template per database at this time! <br />
===tip===<br />
Save your html from your template and paste it into the editor for reuse elsewhere.<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide visual style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
<br />
== Saving ==<br />
At this time, there appears to be no way to save more than one template in the database module except for copying and pasting the html into a separate location.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Export_questions&diff=11695Export questions2006-06-08T04:41:57Z<p>Ddaniels: </p>
<hr />
<div>{{Template:Questions}}<br />
<br />
<br />
== Question ==<br />
Is there a way to include the category name with the XHTML export? --[[User:Dennis Daniels|Dennis Daniels]] 12:41, 8 June 2006 (WST)<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Question_types&diff=11631Question types2006-06-06T06:09:10Z<p>Ddaniels: /* Rendered Matching */</p>
<hr />
<div>{{Questions}}<br />
<br />
You may add a variety of different types of questions in the Quiz module:<br />
<br />
==Multiple choice==<br />
Moodle provides you with a lot of flexibility when creating this common question type. Figure 5-5 shows an example question. You can create single answer and multiple answer questions, display pictures in the question and weight individual answers. <br />
<br />
Figure 5-5. A multiple-choice question<br />
<br />
There are two types of multiple choice questions - single answer and multiple answer.<br />
<br />
;Single-answer questions<br />
:These questions allow one and only one answer to be chosen by providing radio buttons next to the answers. You will specify non-negative marks for each answer, usually zero marks for wrong answers, maximum marks for correct answers and partial marks for partially correct answers.<br />
<br />
;Multiple-answer questions <br />
:These questions allow one or more answers to be chosen by providing check boxes next to the answers. Each answer may carry a positive or negative grade, so that choosing ALL the options will not necessarily result in good grade. If the total grade is negative then the total grade for this question will be zero. Careful: it is possible to create questions that have scores greater than 100%.<br />
<br />
Figure 5-6 shows the multiple choice editing page. <br />
<br />
Figure 5-6. Editing a Multiple Choice Question<br />
<br />
To set up a multiple choice question you proceed as follows:<br />
<br />
#Start out by giving the question a descriptive name. You’ll use the name to track your questions later so “Question 1” isn’t a good idea. The name will be used in the question lists on the quiz editing page. It will not be shown to the students, so you can choose any name that makes sense to you and possibly other teachers.<br />
<br />
#Create the question text. If you’re using the HTML Editor, you can format the question just like a word processing document<br />
#If you want to add an image to the question, you have two options<br />
##If you’ve already uploaded an image to your Files area (see Chapter 4 for details), it will be available to add to the question stem in a dropdown menu under the Question text area<br />
##If you’re using the HTML editor, you can click the image icon. This will pop-up the Insert Image window. You can choose to upload an image into your files area from this window, or you can add the URL of an image on the web. If you add a file to your files area, click the name of the file after you upload it to insert the link into the URL text entry at the top of the screen. Then click OK.<br />
#Choose whether students can only select one answer or multiple answers<br />
#Write your first answer in the Choice 1 text field.<br />
#Select a grade percentage for the answer. This is the percentage of the total points for the question that selecting this response is worth. You can select negative percentages as well as positive percentages. So if a question is worth 10 points, selecting a correct response in a multiple answer question may give you 50% of the possible points. Selecting a wrong answer may take away 10%. <br />
#If you wish, you can add feedback for each response. It may be a bit ore work, but it’s good practice to tell the students why each answer is right or wrong using the feedback area. If students know why an answer is right or wrong, they can analyze their own thinking and being to understand why an answer is correct. Your feedback will only be displayed if you select Show Feedback in the quiz body options.<br />
#Fill in the rest of the response choices in the rest of the form. Any unused areas will be ignored.<br />
#Select the “Save Changes” button at the bottom of the screen.<br />
<br />
You have now added a multiple choice question to the question category.<br />
<br />
==Short answer==<br />
<br />
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. <br />
<br />
To create a short answer question:<br />
#Give your question a descriptive name<br />
#Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?<br />
#Next, fill in the answers you will accept. You can give each answer a percentage of the grade as well. You could give common misspellings partial credit with this option. If the "Case sensitive" option is selected, then you can have different scores for "Word" or "word".<br />
#Create feedback for each acceptable answer.<br />
#Click Save Changes to add the question to the category<br />
<br />
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use ran*ing to match any word or phrase starting with "ran" and ending with "ing". If you really do want to match an asterisk then use a backslash like this: \*<br />
<br />
If you want one question with the two answers fuel and oxygen, you ought to be able to limit the number of variants by writing:<br />
fuel*oxygen 100%<br />
would accept "fuel oxygen" "fuel, oxygen" "fuel; oxygen" "fuel and oxygen" "fuel oxygen" {two spaces} "fuel & oxygen" "fuel oxygen" "fuel und oxygen" "fuel&&oxygen" it would even accept "fuel or oxygen" "fuel but not oxygen" "fuel|oxygen" which might not be so good but you can never be completely safe!<br />
oxygen*fuel 100%<br />
*fuel* 50%<br />
(the order of the answers is important since it stops checking with the first alternative that is satisfied)<br />
*oxygen* 50%<br />
*air* 40% maybe etc<br />
<br />
Without wildcards the answers are compared exactly, so be careful with your spelling!<br />
<br />
You may like to prototype your short answer questions to catch common acceptable answers you hadn’t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students’ answers and add their acceptable answers to the list.<br />
<br />
==Numerical==<br />
<br />
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. <br />
<br />
For example, if the answer is 30 with an accepted error of 5, then any number between 25 and 35 will be accepted as correct.<br />
<br />
Numerical questions can also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like N/A, +inf, -inf, NaN etc.<br />
<br />
Figure 5-8. Numerical Question<br />
<br />
To create a numerical question<br />
#Give the question a descriptive name (This is only seen in the question list that you see as a teacher when you are putting together a quiz)<br />
#Type the equation or numerical question for your students to solve<br />
Moodle has a various text filters that allow you to type an equation and have it properly typeset when displayed. The Moodle Algebra filter is very good for writing common matematical expressions in a simple way. More complicated expressions can use the TeX syntax. If they don't work the administrator may have not enabled them.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Enter the correct answer. 23.4 23,4 and 2.34E+1 would all work. (you can only add one correct answer in the user interface. If you import the question with a GIFT format file you can specifiy multiple answer(intervals) with accompanying feedback and point-percentage. This is done similar to the CLOZE [[Numerical]] format. There is no units support in the Cloze type.) It is possible, though not simple, to get support for several answer intervals '''and''' unit support if you create the question in the numerical interface and export it in Moodle XML format. Than you can duplicate the <answer> segment and put in another answer interval and the feedback and grading factor you want for that interval. Than import it again. You will not be able to edit the question in the normal numerical interface though.<br />
#Enter the accepted error, the range above or below the correct answer. For example, if the correct answer is 5, but you will accept 4 or 6 as answers, your accepted error is 1.<br />
#Enter feedback for the question. It is possible to use all kinds of HTML formating for the feedback but it must be written by hand. Unfortunately (in 1.5.3 anyhow) it is right justified and has no identifying formatting. <br />
#Units can be specified and work to a degree. Unfortunately if the student answers with the right number but no unit he can get full points. And if he thinks of another unit and has the right number and no unit, he gets no differentiated feedback, just wrong. You must also give the conversion factor . So if your main answer was '''5500''' with unit '''W''' and you wanted to allow the unit '''kW''' you would have to specify the factor '''0.001'''. If you wanted to allow '''Watt''' you would use the factor '''1'''.<br />
#Click Save Changes to add the question to the category<br />
<br />
==True/false==<br />
<br />
In response to a question (that may include an image), the respondent selects from two options: True or False. <br />
<br />
If feedback is enabled, then the appropriate feedback message is shown to the respondent after answering the quiz. For example, if the correct answer is "False", but they answer "True" (getting it wrong) then the "True" feedback is shown.<br />
<br />
==Matching==<br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question. <br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
NB: Matching questions do not support feedback.<br />
<br />
==Embedded answers (Cloze)==<br />
<br />
[[Cloze|Embedded answers (Cloze)]] questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and [[Numerical]] answers. <br />
<br />
There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.<br />
<br />
==Random short-answer matching==<br />
<br />
From the student perspective, this looks just like a Matching question. The difference is that the subquestions are drawn randomly from Short Answer questions in the current category. <br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question.<br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
The questions and answers are randomly drawn from the pool of "Short Answer" questions in the current category. Each attempt on a quiz will have different questions and answers.<br />
<br />
==Description==<br />
<br />
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a following group of questions, for example. <br />
<br />
==Calculated==<br />
<br />
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken.<br />
<br />
==Essay==<br />
<br />
In response to a question (that may include an image) the respondent writes an answer in essay format. Three fields may be edited when creating the essay question: the question title, the body of the question, and feedback that can be displayed at a time chosen by the facilitator.<br />
<br />
The essay question will not be assigned a grade until it has been reviewed by a teacher or facilitator by using the Manual Grading feature. When manually grading an essay question, the grader will be able to enter a custom comment in response to the respondent's essay and be able to assign a score for the essay.<br />
<br />
==Third-party question types==<br />
<br />
Besides the question types described above that are part of the core Moodle distribution there are question type plugins contributed by the community. <br />
===Drag and Drop===<br />
<br />
Please see the [[Drag and Drop question tutorial]] for more information.<br />
<br />
===Molecule design===<br />
<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.<br />
<br />
===Regular Expression Short Answer===<br />
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an "open" question with a word or a short phrase. However, using so-called '''regular expressions''' gives you access to a more powerful system for analysing the student's answers and thus providing more adapted feedback messages.<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=338 Regular Expression Short Answer question type] is available '''''for Moodle 1.6''''' from the Modules and plugins database.<br />
--[[User:Joseph Rézeau|Joseph Rézeau]] 22:49, 25 May 2006 (WST)<br />
<br />
===Rendered Matching===<br />
Need some mention of what this is or will be.--[[User:Dennis Daniels|Dennis Daniels]] 14:09, 6 June 2006 (WST)<br />
<br />
[[Category:Quiz]]<br />
[[Category:Teacher]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Question_bank&diff=11630Question bank2006-06-06T06:05:16Z<p>Ddaniels: </p>
<hr />
<div>{{Questions}}<br />
{{Moodle 1.6}}<br />
This allows you to create, preview, and edit questions in the course question bank. These questions can then be used in any supported course activity such as [[Quizzes]]. <br />
<br />
The page has tabs that allow you to edit questions, [[Question categories|categories]], [[Import questions|import questions]] and [[Export questions|export questions]].<br />
<br />
==Select a category==<br />
Questions are organised into categories. Initially each course has only one category called "Default". It is good practice to create more categories to organize your questions. You can create a hierarchy of categories because you can create subcategories inside parent categories. To add or edit categories click on the "[[Question categories|Categories]]" tab.<br />
<br />
The question editing screen shows the questions from the currently selected category. You choose this category from the '''Category:''' drop-down menu. Using the tick box below that menu you determine whether to also show the questions from all subcategories.<br />
<br />
==Add a new question==<br />
#From the '''Category:''' drop-down menu, select a category you want to add a question to.<br />
#The area below the category will then display the question creation block.<br />
#Select the question type you want to create from the '''Create new question''' drop-down menu.<br />
#Fill in the form for the question type you are creating. <br />
#Click Save Changes at the bottom of the form. <br />
Each [[Question types|question type]] has its own form and has its own options.<br />
<br />
==Preview, Edit, Delete, and Move==<br />
The first column in the list of questions contains a number of icons and a selection box.<br />
<br />
Clicking on the '''Preview''' icon will open a preview window in which you can test the question. The '''Edit''' icon allows you to edit the question via the same form that you used to create it. The '''Delete''' icon deletes the question, provided it is not already in use in some activity. The selection box allows you to select a subset of questions that you can then move to another category using the controls below the list of questions.<br />
<br />
<br />
== Tip ==<br />
Put the answer into the question name so you can quickly see the answers when students are asking for answers. This is especially useful if you're dealing with large sets of questions! (No option yet for viewing category or answer of question in the list of questions.)<br />
<br />
[[Category:Teacher]]<br />
[[Category:Quiz]]<br />
<br />
[[es:Preguntas]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11628Database templates2006-06-06T05:57:35Z<p>Ddaniels: no way to save more than one template in the database module</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## creates a clickable icon link that allows you to edit the current entry (only appears if you have the rights to do this)<br />
* ##More## creates a link to the single view, which may contain more detailed info<br />
* ##MoreURL## creates just the URL for the above link, useful for creating your own links<br />
* ##Delete## creates a link that lets you delete the current entry (only appears if you have the rights to do this)<br />
* ##Approve## create a link that lets you approve the current database entry (only appears if you have the rights to do this)<br />
* ##Comments## creates a link to the view/edit comments page, the link text is the current number of comments (only appears if comments are turned on)<br />
* ##User## creates a link to the user page of the user who submitted the entry, link text is their name<br />
<br />
Here's a video demonstrating tag usage:<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide visual style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
<br />
== Saving ==<br />
At this time, there appears to be no way to save more than one template in the database module except for copying and pasting the html into a separate location.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Question_types&diff=11603Question types2006-06-05T08:57:36Z<p>Ddaniels: /* Matching */ NB: Matching questions do not support feedback.</p>
<hr />
<div>{{Questions}}<br />
<br />
You may add a variety of different types of questions in the Quiz module:<br />
<br />
==Multiple choice==<br />
Moodle provides you with a lot of flexibility when creating this common question type. Figure 5-5 shows an example question. You can create single answer and multiple answer questions, display pictures in the question and weight individual answers. <br />
<br />
Figure 5-5. A multiple-choice question<br />
<br />
There are two types of multiple choice questions - single answer and multiple answer.<br />
<br />
;Single-answer questions<br />
:These questions allow one and only one answer to be chosen by providing radio buttons next to the answers. You will specify non-negative marks for each answer, usually zero marks for wrong answers, maximum marks for correct answers and partial marks for partially correct answers.<br />
<br />
;Multiple-answer questions <br />
:These questions allow one or more answers to be chosen by providing check boxes next to the answers. Each answer may carry a positive or negative grade, so that choosing ALL the options will not necessarily result in good grade. If the total grade is negative then the total grade for this question will be zero. Careful: it is possible to create questions that have scores greater than 100%.<br />
<br />
Figure 5-6 shows the multiple choice editing page. <br />
<br />
Figure 5-6. Editing a Multiple Choice Question<br />
<br />
To set up a multiple choice question you proceed as follows:<br />
<br />
#Start out by giving the question a descriptive name. You’ll use the name to track your questions later so “Question 1” isn’t a good idea. The name will be used in the question lists on the quiz editing page. It will not be shown to the students, so you can choose any name that makes sense to you and possibly other teachers.<br />
<br />
#Create the question text. If you’re using the HTML Editor, you can format the question just like a word processing document<br />
#If you want to add an image to the question, you have two options<br />
##If you’ve already uploaded an image to your Files area (see Chapter 4 for details), it will be available to add to the question stem in a dropdown menu under the Question text area<br />
##If you’re using the HTML editor, you can click the image icon. This will pop-up the Insert Image window. You can choose to upload an image into your files area from this window, or you can add the URL of an image on the web. If you add a file to your files area, click the name of the file after you upload it to insert the link into the URL text entry at the top of the screen. Then click OK.<br />
#Choose whether students can only select one answer or multiple answers<br />
#Write your first answer in the Choice 1 text field.<br />
#Select a grade percentage for the answer. This is the percentage of the total points for the question that selecting this response is worth. You can select negative percentages as well as positive percentages. So if a question is worth 10 points, selecting a correct response in a multiple answer question may give you 50% of the possible points. Selecting a wrong answer may take away 10%. <br />
#If you wish, you can add feedback for each response. It may be a bit ore work, but it’s good practice to tell the students why each answer is right or wrong using the feedback area. If students know why an answer is right or wrong, they can analyze their own thinking and being to understand why an answer is correct. Your feedback will only be displayed if you select Show Feedback in the quiz body options.<br />
#Fill in the rest of the response choices in the rest of the form. Any unused areas will be ignored.<br />
#Select the “Save Changes” button at the bottom of the screen.<br />
<br />
You have now added a multiple choice question to the question category.<br />
<br />
==Short answer==<br />
<br />
In response to a question (that may include a image), the respondent types a word or phrase. There may several possible correct answers, with different grades. Answers may or may not be sensitive to case. <br />
<br />
To create a short answer question:<br />
#Give your question a descriptive name<br />
#Create the question stem. If you want students to fill in a blank, use the underscore to indicate where the blank is.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Choose whether capitalization is important. Case sensitivity can be tricky. Will you accept george washingtion as well as George Washington as an answer?<br />
#Next, fill in the answers you will accept. You can give each answer a percentage of the grade as well. You could give common misspellings partial credit with this option. If the "Case sensitive" option is selected, then you can have different scores for "Word" or "word".<br />
#Create feedback for each acceptable answer.<br />
#Click Save Changes to add the question to the category<br />
<br />
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use ran*ing to match any word or phrase starting with "ran" and ending with "ing". If you really do want to match an asterisk then use a backslash like this: \*<br />
<br />
If you want one question with the two answers fuel and oxygen, you ought to be able to limit the number of variants by writing:<br />
fuel*oxygen 100%<br />
would accept "fuel oxygen" "fuel, oxygen" "fuel; oxygen" "fuel and oxygen" "fuel oxygen" {two spaces} "fuel & oxygen" "fuel oxygen" "fuel und oxygen" "fuel&&oxygen" it would even accept "fuel or oxygen" "fuel but not oxygen" "fuel|oxygen" which might not be so good but you can never be completely safe!<br />
oxygen*fuel 100%<br />
*fuel* 50%<br />
(the order of the answers is important since it stops checking with the first alternative that is satisfied)<br />
*oxygen* 50%<br />
*air* 40% maybe etc<br />
<br />
Without wildcards the answers are compared exactly, so be careful with your spelling!<br />
<br />
You may like to prototype your short answer questions to catch common acceptable answers you hadn’t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students’ answers and add their acceptable answers to the list.<br />
<br />
==Numerical==<br />
<br />
From the student perspective, a numerical question looks just like a short-answer question. The difference is that numerical answers are allowed to have an accepted error. This allows a continuous range of answers to be set. <br />
<br />
For example, if the answer is 30 with an accepted error of 5, then any number between 25 and 35 will be accepted as correct.<br />
<br />
Numerical questions can also have case-insensitive non-numerical answers. This is useful whenever the answer for a numerical question is something like N/A, +inf, -inf, NaN etc.<br />
<br />
Figure 5-8. Numerical Question<br />
<br />
To create a numerical question<br />
#Give the question a descriptive name (This is only seen in the question list that you see as a teacher when you are putting together a quiz)<br />
#Type the equation or numerical question for your students to solve<br />
Moodle has a various text filters that allow you to type an equation and have it properly typeset when displayed. The Moodle Algebra filter is very good for writing common matematical expressions in a simple way. More complicated expressions can use the TeX syntax. If they don't work the administrator may have not enabled them.<br />
#Select an image to display if you want to add a picture to the question (see step 3 in the multiple choice description above for more detail).<br />
#Enter the correct answer. 23.4 23,4 and 2.34E+1 would all work. (you can only add one correct answer in the user interface. If you import the question with a GIFT format file you can specifiy multiple answer(intervals) with accompanying feedback and point-percentage. This is done similar to the CLOZE [[Numerical]] format. There is no units support in the Cloze type.) It is possible, though not simple, to get support for several answer intervals '''and''' unit support if you create the question in the numerical interface and export it in Moodle XML format. Than you can duplicate the <answer> segment and put in another answer interval and the feedback and grading factor you want for that interval. Than import it again. You will not be able to edit the question in the normal numerical interface though.<br />
#Enter the accepted error, the range above or below the correct answer. For example, if the correct answer is 5, but you will accept 4 or 6 as answers, your accepted error is 1.<br />
#Enter feedback for the question. It is possible to use all kinds of HTML formating for the feedback but it must be written by hand. Unfortunately (in 1.5.3 anyhow) it is right justified and has no identifying formatting. <br />
#Units can be specified and work to a degree. Unfortunately if the student answers with the right number but no unit he can get full points. And if he thinks of another unit and has the right number and no unit, he gets no differentiated feedback, just wrong. You must also give the conversion factor . So if your main answer was '''5500''' with unit '''W''' and you wanted to allow the unit '''kW''' you would have to specify the factor '''0.001'''. If you wanted to allow '''Watt''' you would use the factor '''1'''.<br />
#Click Save Changes to add the question to the category<br />
<br />
==True/false==<br />
<br />
In response to a question (that may include an image), the respondent selects from two options: True or False. <br />
<br />
If feedback is enabled, then the appropriate feedback message is shown to the respondent after answering the quiz. For example, if the correct answer is "False", but they answer "True" (getting it wrong) then the "True" feedback is shown.<br />
<br />
==Matching==<br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question. <br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
NB: Matching questions do not support feedback.<br />
<br />
==Embedded answers (Cloze)==<br />
<br />
[[Cloze|Embedded answers (Cloze)]] questions consist of a passage of text (in Moodle format) that has various answers embedded within it, including multiple choice, short answers and [[Numerical]] answers. <br />
<br />
There is currently no graphical interface to create these questions - you need to specify the question format using the text box or by importing them from external files.<br />
<br />
==Random short-answer matching==<br />
<br />
From the student perspective, this looks just like a Matching question. The difference is that the subquestions are drawn randomly from Short Answer questions in the current category. <br />
<br />
After an optional introduction, the respondent is presented with several sub-questions and several jumbled answers. There is one correct answer for each question.<br />
<br />
The respondent must select an answer to match each sub-question.<br />
<br />
Each sub-question is equally weighted to contribute towards the grade for the total question.<br />
<br />
The questions and answers are randomly drawn from the pool of "Short Answer" questions in the current category. Each attempt on a quiz will have different questions and answers.<br />
<br />
==Description==<br />
<br />
This is not a real question. It simply prints some text (and possibly graphics) without requiring an answer. This can be used to provide some information to be used by a following group of questions, for example. <br />
<br />
==Calculated==<br />
<br />
Calculated questions offer a way to create individual numerical questions by the use of wildcards that are substituted with individual values when the quiz is taken.<br />
<br />
==Essay==<br />
<br />
In response to a question (that may include an image) the respondent writes an answer in essay format. Three fields may be edited when creating the essay question: the question title, the body of the question, and feedback that can be displayed at a time chosen by the facilitator.<br />
<br />
The essay question will not be assigned a grade until it has been reviewed by a teacher or facilitator by using the Manual Grading feature. When manually grading an essay question, the grader will be able to enter a custom comment in response to the respondent's essay and be able to assign a score for the essay.<br />
<br />
==Third-party question types==<br />
<br />
Besides the question types described above that are part of the core Moodle distribution there are question type plugins contributed by the community. <br />
===Drag and Drop===<br />
<br />
Please see the [[Drag and Drop question tutorial]] for more information.<br />
<br />
===Molecule design===<br />
<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=296 Java Molecular Editor question type] allows you to ask students to design and submit a molecular structure.<br />
<br />
===Regular Expression Short Answer===<br />
{{Moodle 1.6}}Like the Short Answer question, the RegExp Short Answer question expects the student to answer an "open" question with a word or a short phrase. However, using so-called '''regular expressions''' gives you access to a more powerful system for analysing the student's answers and thus providing more adapted feedback messages.<br />
The [http://moodle.org/mod/data/view.php?d=13&rid=338 Regular Expression Short Answer question type] is available '''''for Moodle 1.6''''' from the Modules and plugins database.<br />
--[[User:Joseph Rézeau|Joseph Rézeau]] 22:49, 25 May 2006 (WST)<br />
<br />
===Rendered Matching===<br />
<br />
[[Category:Quiz]]<br />
[[Category:Teacher]]<br />
[[Category:Lesson]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=mod/quiz/review&diff=11601mod/quiz/review2006-06-05T08:47:46Z<p>Ddaniels: /* Quiz review */</p>
<hr />
<div><br />
== Quiz review ==<br />
Here's a video of the usage:<br />
http://video.google.com/videoplay?docid=-3468828164058647452<br />
<br />
"Make comment or override grade" doesn't mark the grade as changed in the display after refresh.--[[User:Dennis Daniels|Dennis Daniels]] 16:32, 5 June 2006 (WST)</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=mod/quiz/review&diff=11600mod/quiz/review2006-06-05T08:32:45Z<p>Ddaniels: </p>
<hr />
<div><br />
== Quiz review ==<br />
"Make comment or override grade" doesn't mark the grade as changed in the display after refresh.--[[User:Dennis Daniels|Dennis Daniels]] 16:32, 5 June 2006 (WST)</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11578Database templates2006-06-05T05:59:16Z<p>Ddaniels: /* Tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
*##Edit## - > creates a link that allows you to edit the current entry<br />
*##More## - > creates a link to the single view, which may contain more info<br />
*##moreurl##<br />
*##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
*##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
*##comments## - > allow teachers (and others?) to add comments<br />
*##user## - > should display user information <br />
<br />
----<br />
<br />
Here's a video demonstrating tag usage.<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11577Database templates2006-06-05T05:54:28Z<p>Ddaniels: /* Tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
*##Edit## - > creates a link that allows you to edit the current entry<br />
*##More## - > creates a link to the single view, which may contain more info<br />
*##moreurl##<br />
*##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
*##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
*##comments## - > allow teachers (and others?) to add comments<br />
*##user## - > should display user information (testing now)<br />
<br />
----<br />
<br />
Here's a video demonstrating tag usage.<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11576Database templates2006-06-05T05:52:13Z<p>Ddaniels: /* Tag usage */ Here's a video demonstrating tag usage.</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
*##Edit## - > creates a link that allows you to edit the current entry<br />
*##More## - > creates a link to the single view, which may contain more info<br />
*##moreurl##<br />
*##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
*##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
*##comments## - > allow teachers (and others?) to add comments<br />
*##user## - > should display user information (testing now)<br />
Here's a video demonstrating tag usage.<br />
http://video.google.com/videoplay?docid=7026851446099005477<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11575Database templates2006-06-05T05:38:58Z<p>Ddaniels: /* Tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
*##Edit## - > creates a link that allows you to edit the current entry<br />
*##More## - > creates a link to the single view, which may contain more info<br />
*##moreurl##<br />
*##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
*##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
*##comments## - > allow teachers (and others?) to add comments<br />
*##user## - > should display user information (testing now)<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11565Database templates2006-06-04T09:47:52Z<p>Ddaniels: /* Tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## - > creates a link that allows you to edit the current entry<br />
* ##More## - > creates a link to the single view, which may contain more info<br />
* ##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
* ##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
:: Could really use a tag for the registered name of the person who contributed the data![[User:Dennis Daniels|Dennis Daniels]] 17:47, 4 June 2006 (WST)<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=11564Database templates2006-06-04T09:47:22Z<p>Ddaniels: /* Tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
'''Templates''' for the [[Database module]] allow you to control the visual layout of information when listing, viewing or editing database entries. It is a similar to the technique used to ''mail merge'' letters in word proccessors such as [[Microsoft Word]].<br />
<br />
== Tag usage ==<br />
<br />
The content of each [[Fields|field]] you create for your database and a few special tags (listed below) can be inserted into the output template by the use of tags. To use the tags found on the left side, use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place. Or simply type the appropriate name within the required symbols like <nowiki>##this## or [[this]]</nowiki>.<br />
<br />
* ##Edit## - > creates a link that allows you to edit the current entry<br />
* ##More## - > creates a link to the single view, which may contain more info<br />
* ##Delete## - > creates a link that lets you delete the current entry (if you have the right to)<br />
* ##Approve## - > create a link allowing admin/teachers to approve the current database entry<br />
:: Could really use a tag for the registered name of the person who contributed the data!<nowiki>Insert non-formatted text here</nowiki>--[[User:Dennis Daniels|Dennis Daniels]] 17:47, 4 June 2006 (WST)<br />
<br />
== List template ==<br />
<br />
This template allows you to control the fields used and their layout when viewing multiple entries at once (e.g. search results). It is possible that this view may simply provide an overview with more detailed information available by clicking on an entry to access the single view of the entry.<br />
<br />
== Single template ==<br />
<br />
This is used to display a single entry at a time and so has more space for display and can use, for example, larger versions of images or optionally provide more information than shown in the list view.<br />
<br />
== Add template ==<br />
<br />
This template creates the interface form used when adding or editing database entries<br />
<br />
== RSS template ==<br />
<br />
Lets you control the content of the [[RSS]] feed for database entries.<br />
<br />
== CSS template ==<br />
<br />
If any of the [[HTML]] in your other templates requires [[CSS]] to provide style you can specify it here.<br />
<br />
== Reset templates button ==<br />
<br />
When you first create a database the templates will be pre-filled with appropriate HTML. If you later add fields then you can press the ''reset templates'' button and it will add HTML for the new fields in a similar fashion. If you have edited any of the templates in the meantime then your changes will be lost. It is recommended that you finalize the database fields before changing the template code.<br />
<br />
[[Category:Teacher]]<br />
[[Category:Database]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Viewing_a_database&diff=10156Viewing a database2006-05-25T12:40:18Z<p>Ddaniels: /* View List */</p>
<hr />
<div>{{Databases}}<br />
<br />
== View List ==<br />
<br />
You'll be able to view the contents of your current database entries... <br />
: It really needs to be viewable in simple text as csv and and in tables... databases can get quite complex very quickly and viewing as as stacked data set makes almost no sense IMHO. Viewing as a text file will speed reusage of the datasets as it makes it easier to manipulate the data later.--[[User:Dennis Daniels|Dennis Daniels]] 20:00, 25 May 2006 (WST)<br />
:: Furthermore, the list needs to have the ability to add multiple approval checkboxes so that a teacher/TA can scan down and approve lots of entries without have to have the page refresh everytime... hard on the server... and very slow...think about using the same kind of quick grading interface used in the assignment module... and extending the tags so that they can be used anywhere!--[[User:Dennis Daniels|Dennis Daniels]] 20:39, 25 May 2006 (WST)<br />
<br />
== View single ==<br />
There's also view single<br />
<br />
mod/data/view.php?d=1&mode=single<br />
<br />
You can add comments to the entries there... <br />
<br />
<br />
==Usage ==<br />
:How can I tell who made what entry? There's no indication of 'ownership' of the data entry---[[User:Dennis Daniels|Dennis Daniels]] 16:38, 25 May 2006 (WST)<br />
<br />
::I wonder who else can add comments? Teachers? Students? Is this a future role thing?--[[User:Dennis Daniels|Dennis Daniels]] 16:00, 25 May 2006 (WST)<br />
[[Category:Teacher]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Viewing_a_database&diff=10155Viewing a database2006-05-25T12:39:20Z<p>Ddaniels: /* View List */</p>
<hr />
<div>{{Databases}}<br />
<br />
== View List ==<br />
<br />
You'll be able to view the contents of your current database entries... <br />
: It really needs to be viewable in simple text as csv and and in tables... databases can get quite complex very quickly and viewing as as stacked data set makes almost no sense IMHO. Viewing as a text file will speed reusage of the datasets as it makes it easier to manipulate the data later.--[[User:Dennis Daniels|Dennis Daniels]] 20:00, 25 May 2006 (WST)<br />
:: Furthermore, the list needs to have the ability to add multiple approval checkboxes so that a teacher/TA can scan down and approve lots of entries without have to have the page refresh everytime... hard on the server... and very slow...--[[User:Dennis Daniels|Dennis Daniels]] 20:39, 25 May 2006 (WST)<br />
<br />
== View single ==<br />
There's also view single<br />
<br />
mod/data/view.php?d=1&mode=single<br />
<br />
You can add comments to the entries there... <br />
<br />
<br />
==Usage ==<br />
:How can I tell who made what entry? There's no indication of 'ownership' of the data entry---[[User:Dennis Daniels|Dennis Daniels]] 16:38, 25 May 2006 (WST)<br />
<br />
::I wonder who else can add comments? Teachers? Students? Is this a future role thing?--[[User:Dennis Daniels|Dennis Daniels]] 16:00, 25 May 2006 (WST)<br />
[[Category:Teacher]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=mod/data/field/&diff=10153mod/data/field/2006-05-25T12:19:25Z<p>Ddaniels: /* Fields */</p>
<hr />
<div>You can create fields here...<br />
<br />
Clicking on an existing field name will take you to the field value editor<br />
<br />
<br />
<br />
==Fields==<br />
(Please add descriptors here)<br />
<br />
Fields turn into tags when editing the HTML templates.<br />
<br />
----<br />
<br />
Checkbox<br />
<br />
Date<br />
<br />
File<br />
<br />
Menu <br />
<br />
Menu (Multi-select)<br />
<br />
Number<br />
<br />
Picture<br />
<br />
Radio buttons<br />
<br />
Text<br />
<br />
Textarea<br />
<br />
Url<br />
: Need a field for student name or a ##student name## or ##group##--[[User:Dennis Daniels|Dennis Daniels]] 20:19, 25 May 2006 (WST)<br />
<br />
== Usage ==<br />
View number of entries for that field?<br />
<br />
View number of templates the field is being used in?<br />
<br />
How to convert existing Moodle database forms like assignments etc to the database module?<br />
<br />
<br />
=== Critical===<br />
Import CSV?<br />
<br />
Export CSV?<br />
<br />
By enabling import and export teachers could leverage their existing database of worksheets by dropping them into an excel spread sheet and exporting the CSV and then importing the CSV into the database module so they can quickly leverage their materials onto an electronic platform i.e. Moodle.</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=10152Database templates2006-05-25T12:17:01Z<p>Ddaniels: /* tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
== tag usage ==<br />
To use the tags found on the left side... use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place.<br />
<br />
##Edit## - > launches the edit interface when viewing<br />
##More## - > don't know<br />
##Delete## - > challenges before deletion<br />
##Approve## - > Allows admin/teacher to approve the database entry <br />
:I find no relation to any grading or scoring for the person who submitted the entry... so teacher approval doesn't translate into any student reward? Tough sell to get younger students to do this exercise without direct translation into tokens for their grades. Pedagogy aside, tokens is how most of the capitalistic world functions and most lower grade students understand grades as a calculation of points.--[[User:Dennis Daniels|Dennis Daniels]] 20:16, 25 May 2006 (WST)<br />
<br />
== list template tab ==<br />
Defines browsing interface for multiple entries<br />
<br />
mod/data/templates.php?d=1&mode=listtemplate<br />
<br />
== single template tab ==<br />
Defines browsing interface for a single entry.<br />
<br />
== add template tab ==<br />
Defines the interface when editing entries<br />
What does the reset template do? No challenge before resetting so be careful...<br />
<br />
== RSS template tab ==<br />
Defines appearance of entries in RSS feeds<br />
<br />
mod/data/templates.php?d=1&mode=rsstemplate<br />
<br />
== CSS template tab ==<br />
Defines local CSS styles for the other templates<br />
How is stuff being saved? And, wouldn't an existing CSS pre-loaded by nice? Hand coding CSS? Copy and paste? <br />
mod/data/templates.php?d=1&mode=csstemplate<br />
<br />
== Usage Issues ==<br />
<br />
Can't tell how or where the templates are being saved or what the tags do.--[[User:Dennis Daniels|Dennis Daniels]] 16:16, 25 May 2006 (WST)<br />
<br />
I personally think each php with a "mode" should have its own help page...--[[User:Dennis Daniels|Dennis Daniels]] 16:14, 25 May 2006 (WST)<br />
<br />
AJAX anyone? Seems like a great place for it... :)<br />
<br />
It occurred to me that setting up templates could be a matter of copying and pasting HTML with the database tags ... testing the idea now... --[[User:Dennis Daniels|Dennis Daniels]] 19:35, 25 May 2006 (WST)<br />
===saving===<br />
Are there multiple templates allowed? Can't find any interface to suggest more than one template...<br />
<br />
{{stub}}<br />
[[Category:Teacher]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=10151Database templates2006-05-25T12:16:45Z<p>Ddaniels: /* tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
== tag usage ==<br />
To use the tags found on the left side... use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place.<br />
<br />
##Edit## - > launches the edit interface when viewing<br />
##More## - > don't know<br />
##Delete## - > challenges before deletion<br />
##Approve## - > Allows admin/teacher to approve the database entry <br />
:I find no relation to any grading or scoring for the person who submitted the entry... so teacher approval doesn't translate into any student reward? Tough sell to get younger students to do this exercise without direct translation into tokens for their grades. Pedagogy aside, tokens is how most of the capitalistic world functions and most lower grade students understand grades as a calculation of points.--[[User:Dennis Daniels|Dennis Daniels]] 20:16, 25 May 2006 (WST)<br />
<br />
== list template tab ==<br />
Defines browsing interface for multiple entries<br />
<br />
mod/data/templates.php?d=1&mode=listtemplate<br />
<br />
== single template tab ==<br />
Defines browsing interface for a single entry.<br />
<br />
== add template tab ==<br />
Defines the interface when editing entries<br />
What does the reset template do? No challenge before resetting so be careful...<br />
<br />
== RSS template tab ==<br />
Defines appearance of entries in RSS feeds<br />
<br />
mod/data/templates.php?d=1&mode=rsstemplate<br />
<br />
== CSS template tab ==<br />
Defines local CSS styles for the other templates<br />
How is stuff being saved? And, wouldn't an existing CSS pre-loaded by nice? Hand coding CSS? Copy and paste? <br />
mod/data/templates.php?d=1&mode=csstemplate<br />
<br />
== Usage Issues ==<br />
<br />
Can't tell how or where the templates are being saved or what the tags do.--[[User:Dennis Daniels|Dennis Daniels]] 16:16, 25 May 2006 (WST)<br />
<br />
I personally think each php with a "mode" should have its own help page...--[[User:Dennis Daniels|Dennis Daniels]] 16:14, 25 May 2006 (WST)<br />
<br />
AJAX anyone? Seems like a great place for it... :)<br />
<br />
It occurred to me that setting up templates could be a matter of copying and pasting HTML with the database tags ... testing the idea now... --[[User:Dennis Daniels|Dennis Daniels]] 19:35, 25 May 2006 (WST)<br />
===saving===<br />
Are there multiple templates allowed? Can't find any interface to suggest more than one template...<br />
<br />
{{stub}}<br />
[[Category:Teacher]]</div>Ddanielshttps://docs.moodle.org/32/en/index.php?title=Database_templates&diff=10150Database templates2006-05-25T12:16:31Z<p>Ddaniels: /* tag usage */</p>
<hr />
<div>{{Databases}}<br />
<br />
== tag usage ==<br />
To use the tags found on the left side... use the HTML viewer, place your cursor in the text area of your target edit and then click on the tag you want to place.<br />
<br />
##Edit## - > launches the edit interface when viewing<br />
##More## - > don't know<br />
##Delete## - > challenges before deletion<br />
##Approve## - > Allows admin/teacher to approve the database entry <br />
:I find no relation to any grading or scoring for the person who submitted the entry... so teacher approval doesn't translate into any student reward? Tough sell to get younger students to do this exercise without direct translation into tokens for their grades. Pedagogy aside, tokens is how most of the capitalistic world functions and most lower grade students understand grades as a calculation of points.<br />
<br />
== list template tab ==<br />
Defines browsing interface for multiple entries<br />
<br />
mod/data/templates.php?d=1&mode=listtemplate<br />
<br />
== single template tab ==<br />
Defines browsing interface for a single entry.<br />
<br />
== add template tab ==<br />
Defines the interface when editing entries<br />
What does the reset template do? No challenge before resetting so be careful...<br />
<br />
== RSS template tab ==<br />
Defines appearance of entries in RSS feeds<br />
<br />
mod/data/templates.php?d=1&mode=rsstemplate<br />
<br />
== CSS template tab ==<br />
Defines local CSS styles for the other templates<br />
How is stuff being saved? And, wouldn't an existing CSS pre-loaded by nice? Hand coding CSS? Copy and paste? <br />
mod/data/templates.php?d=1&mode=csstemplate<br />
<br />
== Usage Issues ==<br />
<br />
Can't tell how or where the templates are being saved or what the tags do.--[[User:Dennis Daniels|Dennis Daniels]] 16:16, 25 May 2006 (WST)<br />
<br />
I personally think each php with a "mode" should have its own help page...--[[User:Dennis Daniels|Dennis Daniels]] 16:14, 25 May 2006 (WST)<br />
<br />
AJAX anyone? Seems like a great place for it... :)<br />
<br />
It occurred to me that setting up templates could be a matter of copying and pasting HTML with the database tags ... testing the idea now... --[[User:Dennis Daniels|Dennis Daniels]] 19:35, 25 May 2006 (WST)<br />
===saving===<br />
Are there multiple templates allowed? Can't find any interface to suggest more than one template...<br />
<br />
{{stub}}<br />
[[Category:Teacher]]</div>Ddaniels