More actions
jrfconvert import |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | | ||
====== Question Definition ====== | |||
This chapter describes how to define a question using QSL. | |||
'''Supported question types''' | |||
*Single | |||
*Multi | |||
*Open | |||
*Text | |||
*Number | |||
*Page | |||
*Multimedia | |||
*Scale | |||
*Single grid | |||
*Multi grid | |||
*Scale grid | |||
*Text grid | |||
'''General syntax''' | |||
QUESTION ''question_label [question_type] [property_set]'' | |||
''question_body'' | |||
''question_text'' | |||
'''Arguments''' | |||
''question_label'': label of the question. It must follow the standard format of question label. | |||
''question_type'': must be one of QSL's predefined keywords for question types. This is an optional argument, if it is left blank, the question's type will be set as Single. | |||
{| width="563" cellpadding="2" border="1" style="border-collapse: collapse; border: 1px solid #010101" class="tableintopic" | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" bgcolor="#C0C0C0" style="border: 1px solid #010101" | | |||
'''Question Type''' | |||
| width="281" valign="bottom" bgcolor="#C0C0C0" style="border: 1px solid #010101" | | |||
'''QSL Keyword''' | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Single | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
SINGLE | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Multi | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
MULTI | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Page | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
PAGE | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Number | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
NUMBER | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Text | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
TEXT | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Open | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
OPEN | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Multimedia | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
MULTIMEDIA | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Scale | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
SCALE | |||
===== | |- valign="top" align="left" | ||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Single grid | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
SINGLEGRID | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Multi grid | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
MULTIGRID | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Scale grid | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
SCALEGRID | |||
|- valign="top" align="left" | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
Text grid | |||
| width="281" valign="bottom" style="border: 1px solid #010101" | | |||
TEXTGRID | |||
<!-- imported from file: 5048.htm--> | |||
|} | |||
property_set : is a QSL properties set. This is an optional argument which is dependent on each question type. | |||
question_text : is the text of the question. | |||
question_body: is used for defining the internal attributes of the question, which is also dependent on question type. __NOTOC__ <br> | |||
<br> | |||
[[Category:HelpBooks]] | |||
Revision as of 04:57, 28 February 2012
Question Definition
This chapter describes how to define a question using QSL.
Supported question types
- Single
- Multi
- Open
- Text
- Number
- Page
- Multimedia
- Scale
- Single grid
- Multi grid
- Scale grid
- Text grid
General syntax
QUESTION question_label [question_type] [property_set]
question_body
question_text
Arguments
question_label: label of the question. It must follow the standard format of question label.
question_type: must be one of QSL's predefined keywords for question types. This is an optional argument, if it is left blank, the question's type will be set as Single.
Question Type |
QSL Keyword |
Single |
SINGLE |
Multi |
MULTI |
Page |
PAGE |
Number |
NUMBER |
Text |
TEXT |
Open |
OPEN |
Multimedia |
MULTIMEDIA |
Scale |
SCALE |
Single grid |
SINGLEGRID |
Multi grid |
MULTIGRID |
Scale grid |
SCALEGRID |
Text grid |
TEXTGRID
|
property_set : is a QSL properties set. This is an optional argument which is dependent on each question type.
question_text : is the text of the question.
question_body: is used for defining the internal attributes of the question, which is also dependent on question type.