問題のインポート

提供:MoodleDocs
2007年1月22日 (月) 18:02時点におけるMitsuhiro Yoshida (トーク | 投稿記録)による版
移動先:案内検索



作成中です - Mitsuhiro Yoshida 2007年1月16日 (火) 14:07 (CST)

Moodleでは、問題を問題バンクにインポートすることのできる数多くの異なるフォーマットをサポートしています。いくつかのインポートファイルは独自のクイズソフトウェアにより作成され、他は人間に解読可能なテキストファイルで作成されます。また、Moodle間で問題バンクを転送するためMoodleからMoodle専用のフォーマットで提供される場合もあります。

テキストフォーマット (特にGIFT) の場合、一旦フォーマットの方法を理解すると、テキストファイルに問題を書き込むだけですので、ウェブインターフェースで問題を作成するよりも簡単です。ウェブインターフェースが新しい問題を表示するまで待つ代わりに、テキストファイルに問題を作成し続けることができます。

利用可能なフォーマットは、Moodleのバージョンおよび小テストまたはレッスンモジュールによって異なります。

文字コード

Prior to version 1.6 of Moodle the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic 'latin' characters are used, then the coding issue can generally be ignored.

GIFT

With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions.

ファイル:Gift.jpg
screen shot from quiz help file documentation


Please note that the blank lines between questions are required when loading a text file from Windows. (maybe unix as well)

Here is an GIFT example for quiz-import, easy to copy and change ...

Hint: use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title ...

For UTF8 be careful: dont upload special signs (german ü,ä,.. and other stuff like that), without converting it on your local pc to utf8! notepad2 notepad2 may be helpful in that case.

In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to "try again"). When importing from a GIFT format file, this is exactly the mechanism which is used.

If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message "correct / incorrect" will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. "continue", "---", etc.) In case you want no visible message displayed then enter a non-breaking space as feeback, so you'll have to put a # after the answer which may be ~3 and write & n b s p ; after that.(without spaces between these characters) To find out how moodle works - you may export a sample of your questions with GIFT and check them out!

With GIFT its easy to organize a questions catalogue at your local pc and change and share questions

Aiken

Aiken format is an easy way of writing multiple-choice questions for import. It’s a very easy, readable format.

ファイル:Aiken format.gif
screen shot from quiz help file documentation


Missing Word

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.

ファイル:Missing word.jpg
screen shot from quiz help file documentation


AON

The same as the missing word format, except it creates matching questions from the multiple choice questions.

Blackboard

Moodle 1.7

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.

WebCT

Moodle 1.7

Currently, the WebCT format only supports importing multiple-choice and short answers questions

Course Test Manager

This will enable you to import questions from the Course Test Manager from Course Technology

Embedded Answers (Cloze)

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

Version 1.7 formats

See also

  • The help file available from the help button next to the import file button gives a lot of detail about each format.
  • Using Moodle escaping problem in gift import? forum discussion