Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34483 qformat_examview: Commit example file.

Supplied by Rick Jerz.
  • Loading branch information...
commit ae1ecaf94acede78e168de762981dc89506c8ad7 1 parent c354a10
@timhunt timhunt authored
Showing with 164 additions and 0 deletions.
  1. +164 −0 question/format/examview/tests/fixtures/questions.examview.xml
View
164 question/format/examview/tests/fixtures/questions.examview.xml
@@ -0,0 +1,164 @@
+<?xml version='1.0' encoding='utf-8' standalone='yes'?>
+<examview type='test' platform='Windows' app-version='4.0.2'>
+ <header>
+ <title>Moodle Example</title>
+ <version>A</version>
+ </header>
+ <font-table>
+ <font-entry number='1'>
+ <charset>ansi</charset>
+ <name>Times New Roman</name>
+ <pitch>variable</pitch>
+ <family>roman</family>
+ </font-entry>
+ </font-table>
+ <preferences>
+ <show>
+ <show-answer value='yes'/>
+ <show-difficulty value='yes'/>
+ <show-reference value='yes'/>
+ <show-text-objective value='yes'/>
+ <show-state-objective value='yes'/>
+ <show-topic value='yes'/>
+ <show-keywords value='yes'/>
+ <show-misc value='yes'/>
+ <show-notes value='yes'/>
+ <show-rationale value='yes'/>
+ </show>
+ <leave-answer-space>
+ <tf value='yes'/>
+ <mtf value='yes'/>
+ <mc value='yes'/>
+ <yn value='yes'/>
+ <nr value='no'/>
+ <co value='no'/>
+ <ma value='yes'/>
+ <sa value='no'/>
+ <pr value='no'/>
+ <es value='no'/>
+ <ca value='no'/>
+ <ot value='no'/>
+ </leave-answer-space>
+ <question-type-order value='tf,mtf,mc,yn,nr,co,ma,sa,pr,es,ca,ot'/>
+ <section-page-break value='no'/>
+ <bi-display-mode value='mc'/>
+ <tf-show-choices value='no'/>
+ <mc-conserve-paper value='no'/>
+ <mc-choice-sequence value='abcde'/>
+ <show-answer-lines value='no'/>
+ <question-numbering value='continuous'/>
+ <answer-style template='a.' style='none'/>
+ <number-style template='1.' style='none'/>
+ <max-question-id value='9'/>
+ <max-narrative-id value='0'/>
+ <max-group-id value='1'/>
+ <default-font target='title'>
+ <number>1</number>
+ <size>13</size>
+ <style>bold</style>
+ <text-rgb>#000000</text-rgb>
+ </default-font>
+ <default-font target='sectiontitle'>
+ <number>1</number>
+ <size>11</size>
+ <style>bold</style>
+ <text-rgb>#000000</text-rgb>
+ </default-font>
+ <default-font target='questionnumber'>
+ <number>1</number>
+ <size>11</size>
+ <text-rgb>#000000</text-rgb>
+ </default-font>
+ <default-font target='answerchoice'>
+ <number>1</number>
+ <size>11</size>
+ <text-rgb>#000000</text-rgb>
+ </default-font>
+ <default-font target='newquestiondefault'>
+ <number>1</number>
+ <size>11</size>
+ <text-rgb>#000000</text-rgb>
+ </default-font>
+ </preferences>
+ <test-header page='first'><para tabs='R10440'><b>Name: ________________________ Class: ___________________ Date: __________ ID: <field field-type='version'/></b></para></test-header>
+ <test-header page='subsequent'><para tabs='R10440'><b>Name: ________________________ ID: <field field-type='version'/></b></para></test-header>
+ <test-footer page='first'><para justify='center'><field field-type='pageNumber'/>
+</para></test-footer>
+ <test-footer page='subsequent'><para justify='center'><field field-type='pageNumber'/>
+</para></test-footer>
+ <instruction type='tf'><b>True/False</b><font size='10'>
+</font><i>Indicate whether the sentence or statement is true or false.</i></instruction>
+ <instruction type='mtf'><b>Modified True/False</b><font size='10'>
+</font><i>Indicate whether the sentence or statement is true or false. If false, change the identified word or phrase to make the sentence or statement true.</i></instruction>
+ <instruction type='mc'><b>Multiple Choice</b><font size='10'>
+</font><i>Identify the letter of the choice that best completes the statement or answers the question.</i></instruction>
+ <instruction type='yn'><b>Yes/No</b><font size='10'>
+</font><i>Indicate whether you agree with the sentence or statement.</i></instruction>
+ <instruction type='nr'><b>Numeric Response</b></instruction>
+ <instruction type='co'><b>Completion</b><font size='10'>
+</font><i>Complete each sentence or statement.</i></instruction>
+ <instruction type='ma'><b>Matching</b></instruction>
+ <instruction type='sa'><b>Short Answer</b></instruction>
+ <instruction type='pr'><b>Problem</b></instruction>
+ <instruction type='es'><b>Essay</b></instruction>
+ <instruction type='ca'><b>Case</b></instruction>
+ <instruction type='ot'><b>Other</b></instruction>
+ <question type='tf' question-id='1' bank-id='0'>
+ <text>This is a T/F question. Tim and Jean-Michael are great people.</text>
+ <rationale>Examview allows for this &#x201c;Rationale&#x201d; field</rationale>
+ <answer>T</answer>
+ </question>
+ <question type='mc' question-id='2' bank-id='0'>
+ <text>This is an example of a multiple choice question. This is only an ________</text>
+ <choices columns='2'>
+ <choice-a>example</choice-a>
+ <choice-b>the real thing</choice-b>
+ <choice-c>a true false question</choice-c>
+ <choice-d>none of these</choice-d>
+ </choices>
+ <answer>A</answer>
+ </question>
+ <question type='nr' question-id='3' bank-id='0'>
+ <text>This is a numeric response question. How much is 12 * 2?</text>
+ <answer>24</answer>
+ <info>
+ <answer-space>-1</answer-space>
+ </info>
+ </question>
+ <matching-group group-id='1' bank-id='0' name='Matching 1'>
+ <text>This is a matching question type.
+</text>
+ <choices columns='2'>
+ <choice-a>Question 1</choice-a>
+ <choice-b>Question 2</choice-b>
+ <choice-c>Question 3</choice-c>
+ <choice-d>Question 4</choice-d>
+ </choices>
+ </matching-group>
+ <question type='ma' question-id='6' bank-id='0' group='Matching 1'>
+ <text>This is question 1.</text>
+ <answer>A</answer>
+ </question>
+ <question type='ma' question-id='7' bank-id='0' group='Matching 1'>
+ <text>This is question 2.</text>
+ <answer>B</answer>
+ </question>
+ <question type='ma' question-id='8' bank-id='0' group='Matching 1'>
+ <text>This is question 3.</text>
+ <answer>C</answer>
+ </question>
+ <question type='sa' question-id='5' bank-id='0'>
+ <text>This is a short answer question. This is a ___________ answer question.</text>
+ <answer>short</answer>
+ <info>
+ <answer-space>-1</answer-space>
+ </info>
+ </question>
+ <question type='es' question-id='4' bank-id='0'>
+ <text>This is an essay question. I am not sure if an answer is needed.</text>
+ <answer>This is the answer in Examview. I am curious to see how this shows in Moodle.</answer>
+ <info>
+ <answer-space>-1</answer-space>
+ </info>
+ </question>
+</examview>
Please sign in to comment.
Something went wrong with that request. Please try again.