Difference between revisions of "Question Definition"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+


+
 
 +
====== 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
  
======Question Definition======
+
|- valign="top" align="left"
 +
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
Single grid
  
This chapter describes how to define a question using QSL.
+
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
SINGLEGRID
  
'''Supported question types'''
+
|- valign="top" align="left"
 +
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
Multi grid
  
* Single
+
| width="281" valign="bottom" style="border: 1px solid #010101" |
* Multi
+
MULTIGRID
* Open
 
* Text
 
* Number
 
* Page
 
* Multimedia
 
* Scale
 
* Single grid
 
* Multi grid
 
* Scale grid
 
* Text grid
 
  
'''General syntax'''
+
|- valign="top" align="left"
 +
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
Scale grid
  
QUESTION ''question_label [question_type] [property_set]''
+
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
SCALEGRID
  
''question_body''
+
|- valign="top" align="left"
 +
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
Text grid
  
''question_text''
+
| width="281" valign="bottom" style="border: 1px solid #010101" |
 +
TEXTGRID
  
'''Arguments'''
+
<!-- imported from file: 5048.htm-->
  
''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.
+
property_set : is a QSL properties set. This is an optional argument which is dependent on each question type.
  
{| class="tableintopic" style="border-collapse: collapse; border: 1px solid #010101" width="563" border="1" cellpadding="2"
+
question_text : is the text of the question.
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" bgcolor="#C0C0C0" valign="bottom" |
 
'''Question Type'''
 
| style="border: 1px solid #010101" width="281" bgcolor="#C0C0C0" valign="bottom" |
 
'''QSL Keyword'''
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Single
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
SINGLE
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Multi
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
MULTI
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Page
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
PAGE
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Number
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
NUMBER
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Text
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
TEXT
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Open
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
OPEN
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Multimedia
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
MULTIMEDIA
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Scale
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
SCALE
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Single grid
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
SINGLEGRID
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Multi grid
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
MULTIGRID
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Scale grid
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
SCALEGRID
 
|- align="left" valign="top"
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
Text grid
 
| style="border: 1px solid #010101" width="281" valign="bottom" |
 
TEXTGRID
 
  
''property_set '': is a QSL properties set. This is an optional argument which is dependent on each question type.
+
question_body: is used for defining the internal attributes of the question, which is also dependent on question type. __NOTOC__ <br>
  
''question_text '': is the text of the question.
+
<br>
  
''question_body: ''is used for defining the internal attributes of the question, which is also dependent on question type.
+
[[Category:HelpBooks]]
__NOTOC__
 
<!-- imported from file: 5048.htm-->
 

Revision as of 05: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.