UserPreferences

EdventureXMLFormat


1. EdventureXMLFormat

The Edventure Question XML format is very simple. All questions have the same basic format. Here is an example multiple choice question.

<?xml version="1.0"?>
<QSET date="2002-11-19 21:15:38" count="50">
<QUESTION  iid="1" qid="0" version="0" id="dblank" qdate="2002-08-20 21:15:59-05" qtype="multiple choice"
           ku_subject="Artificial Intelligence" ku="Search" level="1" score="3" status="a">
  <Q><![CDATA[Accessible means that:]]></Q>
      <OPTIONS>
             <OPT><![CDATA[anything is possible]]></OPT>
             <OPT><![CDATA[an agent can perceive everything that matters]]></OPT>
             <OPT><![CDATA[no move is unreachable]]></OPT>
             <OPT><![CDATA[the goal is guaranteed to be reached]]></OPT>
             <OPT><![CDATA[the solution will be found, given that there is one]]></OPT>
      </OPTIONS>
  <EXPLANATION><![CDATA[Accessablility means that an agent can perceive everything
          that matters. (p 122)]]></EXPLANATION>
  <ANSWER><![CDATA[1]]></ANSWER>
  <HISTORY iid="" qid="" version=""></HISTORY>
</QUESTION>
</QSET>

The OPTIONS and OPT areas are for the choices in multiple choice, and the answer is which OPT is correct (starting with 0).

Some brief notes:

 iid = institution ID
 qid = question ID
 version = original is 0
 id = local user ID
 qdate = date of creation/last edit
 qtype = type of question (multiple choice, fill-in the blank, matching, etc
 ku_subject = knowledge unit subtopic
 ku = knowledge unit area
 level = level of difficulty
 score = default point value for question
 status = a :active, h: hidden
 HISTORY = question is based on previous question (useful for when you edit someone else's question)