Various quiz changes. Most importantly is the new framework for importing

quiz questions.   Importing works but is still being tested.
This commit is contained in:
moodler 2003-02-16 07:08:57 +00:00
parent 4270bba267
commit 49220fa70c
15 changed files with 695 additions and 152 deletions

View file

@ -0,0 +1,49 @@
<P ALIGN=CENTER><B>Importing new questions</B></P>
<P>This function allows you to import questions from
external text files.
<P>Several common file formats are supported:
<P><B>Missing word format</B></P>
<UL>
<P>This format only supports multiple choice questions.
Each answer is separated with a tilde (~), and the correct answer is
prefixed with an equals sign (=). Here is an example:
<BLOCKQUOTE>As soon as we begin to explore our body parts as infants
we become students of {=anatomy and physiology ~reflexology
~science ~experiment}, and in a sense we remain students for life.
</BLOCKQUOTE>
<P>More info: <? helpbutton("formatmissingword", "", "quiz") ?></P>
</UL>
<P><B>IMS QTI format</B></P>
<UL>
<P>The standard format for Question and Test Interoperability, from IMS.
<P>Not yet implemented
<P>More info: <? helpbutton("formatqti", "", "quiz") ?></P>
</UL>
<P><B>WebCT format</B></P>
<UL>
<P>The format of files exported from WebCT.
<P>Not yet implemented
<P>More info: <? helpbutton("formatwebct", "", "quiz") ?></P>
</UL>
<P><B>Custom format</B></P>
<UL>
<P>If you have your own format that you need to import, you can
implement it yourself by editing mod/quiz/format/custom.php
<P>The amount of new code needed is quite small - just enough
to parse a single question from given text.
<P>More info: <? helpbutton("formatcustom", "", "quiz") ?></P>
</UL>

View file

@ -5,6 +5,7 @@ $string['modulename'] = "Quiz";
$string['modulenameplural'] = "Quizzes";
#------------------------------------------------------------
$string['addquestions'] = "Add questions";
$string['addselectedtoquiz'] = "Add selected to quiz";
$string['allowreview'] = "Allow review";
$string['alwaysavailable'] = "Always available";
@ -35,6 +36,7 @@ $string['choices'] = "Available choices";
$string['correctanswer'] = "Correct answer";
$string['correctanswers'] = "Correct answers";
$string['createnewquestion'] = "Create new question";
$string['custom'] = "Custom format";
$string['daysavailable'] = "Days available";
$string['default'] = "Default";
$string['defaultinfo'] = "The default category for questions.";
@ -60,10 +62,12 @@ $string['gradehighest'] = "Highest grade";
$string['grademethod'] = "Grading method";
$string['guestsno'] = "Sorry, guests can not see or attempt quizzes";
$string['imagedisplay'] = "Image to display";
$string['importquestions'] = "Import questions from file";
$string['introduction'] = "Introduction";
$string['marks'] = "Marks";
$string['missingname'] = "Missing question name";
$string['missingquestiontext'] = "Missing question text";
$string['missingword'] = "Missing word format";
$string['multichoice'] = "Multiple Choice";
$string['noanswers'] = "No answers were selected!";
$string['noattempts'] = "No attempts have been made on this quiz";
@ -72,6 +76,7 @@ $string['noquestions'] = "No questions have been added yet";
$string['noreview'] = "You are not allowed to review this quiz";
$string['noreviewuntil'] = "You are not allowed to review this quiz until \$a";
$string['publish'] = "Publish";
$string['qti'] = "IMS QTI format";
$string['question'] = "Question";
$string['questioninuse'] = "The question '\$a' is currently being used:";
$string['questions'] = "Questions";
@ -106,4 +111,5 @@ $string['true'] = "True";
$string['truefalse'] = "True/False";
$string['type'] = "Type";
$string['viewallanswers'] = "View \$a completed quizzes";
$string['webct'] = "WebCT format";
$string['yourfinalgradeis'] = "Your final grade for this quiz is \$a";

View file

@ -63,6 +63,13 @@ $string['attlsmintro'] = "In discussion ...";
$string['attlsm1'] = "Attitudes Towards Thinking and Learning";
$string['attlsm2'] = "Connected Learning";
$string['attlsm3'] = "Separate Learning";
$string['ciqname'] = "Critical Incidents";
$string['ciqintro'] = "While thinking about the events in this class over the past week, answer the questions below.";
$string['ciq1'] = "At what moment in class were you most engaged as a learner?";
$string['ciq2'] = "At what moment in class were you most distanced as a learner?";
$string['ciq3'] = "What action from anyone in the forums did you find most affirming or helpful?";
$string['ciq4'] = "What action from anyone in the forums did you find most puzzling or confusing?";
$string['ciq5'] = "What event surprised you most?";
$string['clicktocontinue'] = "Click here to continue";
$string['clicktocontinuecheck'] = "Click here to check and continue";