<?xml version="1.0" encoding="UTF-8"?>
<surveyConfig title="Pre-Questionnaire">
  <page label="Pre-Questionnaire">
    <label>
      Thanks. Now we are going to ask you some few questions about:
      <ul>
	<li>Personal details </li>
	<li>Familiarity with computers </li>
	<li>Decision making </li>
	<li>Relevant abilities for the scenario </li>
      </ul>
      <br> </br><br> </br>
      Please click Next.<br> </br>
    </label>
  </page>
  <page label="Personal information">
    <element id="gender" mandatory="true">
      <label>Gender</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="verical">
	  <choice id="male" label="Male"/>
	  <choice id="female" label="Female"/>
	</multipleChoiceConfig>
      </type>
    </element>

    <element id="age_range" mandatory="true">
      <label>Age</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="horizontal">
	  <choice id="&lt;18" label="&lt;18"/>
	  <choice id="18-24" label="18-24"/>
	  <choice id="25-35" label="25-35"/>
	  <choice id="36-45" label="36-45"/>
	  <choice id="46-55" label="46-55"/>
	  <choice id="&gt;55" label="&gt;55"/>
	</multipleChoiceConfig>
      </type>
    </element>
    
    <element id="studies">
      <label>Field of studies (e.g. computer science, architecture, psychology)</label>
      <type className="survey.TextField"/>
    </element>

    <element id="occupation">
      <label>Occupation</label>
      <type className="survey.TextField"/>
    </element>

    <element id="native_english" mandatory="true">
      <label>Is English your native language?</label>
      <type className="survey.YesNo" />
    </element>

  </page>


  <page label="Familiarity with computers">
    <element id="computer_usage" mandatory="true">
      <label>Aproximately how many hours per day do you use a computer?</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="horizontal" newline="true">
	  <choice id="&lt;1" label="&lt;1"/>
	  <choice id="1-4" label="1-4"/>
	  <choice id="5-7" label="5-7"/>
	  <choice id="7-10" label="7-10"/>
	  <choice id="&gt;10" label="&gt;10"/>
	</multipleChoiceConfig>
      </type>
    </element>

    <element id="internet_search_usage" mandatory="true">
      <label>How often do you search for information using the internet?</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="vertical">
	  <choice id="1" label="Every day"/>
	  <choice id="2" label="A few times a week"/>
	  <choice id="3" label="A few times a month"/>
	  <choice id="4" label="A few times a year"/>
	  <choice id="5" label="Never"/>
	</multipleChoiceConfig>
      </type>
    </element>

    <element id="computer_abilities" mandatory="true">
      <label>Computer Abilities</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="vertical">
	  <choice id="1" label="I rarely use computers"/>
	  <choice id="2" label="I am a normal user (use Ms Office, surf the web)"/>
	  <choice id="3" label="I know how to configure my operation system"/>
	</multipleChoiceConfig>
      </type>
    </element>

    <element id="sql_test">
<label>
In what computer language is this query written in?
<br> </br>
<pre>SELECT shape, COUNT(*) FROM info GROUP BY shape;</pre>
<br> </br>
(ignore the question if you don't know it)
</label>
      <type className="survey.TextArea"/>
    </element>
  </page>

  <page label="Decision making">
    <element id="internet_compare" mandatory="true">
      <label>Do you use Internet to compare products/services?</label>
      <type className="survey.YesNo" />
    </element>

    <element id="internet_compare_text">
<label>
Do you use specialized websites to compare products (other than search engines such as google)?<br> </br>
If yes, which ones? (for instance, http://www.resto-rang.ch to compare restaurants)
</label>
      <type className="survey.TextArea"/>
    </element>


    <element id="decision_making_text">
      <label>
Do you use computer tools to compare decision / make decisions?<br> </br>
If yes, which ones? (for instance, "Ms Excel", "Logical Decisions for Windows")
      </label>
      <type className="survey.TextArea"/>
    </element>
  </page> 


  <page label="Relevant abilities for the scenario">
    <element id="car_abilities" mandatory="true">
      <label>Select the option which most describes you car abilities</label>
      <type className="survey.MultipleChoice">
	<multipleChoiceConfig alignment="vertical">
	  <choice id="1" label="I rarely drive cars"/>
	  <choice id="2" label="I am a normal car user (I use it to go to work or during week-ends)"/>
	  <choice id="4" label="I know what are the typical values for car performance and cubic capacity"/>
	  <choice id="5" label="I read car magazines regularly"/>
	</multipleChoiceConfig>
      </type>
    </element>
  </page>


  <page label="QUESTIONNAIRE FINISHED">
    <label>
      The questionnaire has finished.<br> </br>
      <b>Click "Finish" to continue.</b>
    </label>
  </page>

</surveyConfig>

