Category:Question Definition

From Catglobe Wiki
Jump to: navigation, search


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.