QuestionTypes
in package
Semantic question types for Quiz1 (not QTI element names).
These six types are the Common Cartridge QTI 1.2.1 assessment profile.
Table of Contents
Constants
- ESSAY : mixed = 'essay'
- FILL_BLANK : mixed = 'fill_blank'
- MULTIPLE_CHOICE : mixed = 'multiple_choice'
- MULTIPLE_RESPONSE : mixed = 'multiple_response'
- PATTERN_MATCH : mixed = 'pattern_match'
- TRUE_FALSE : mixed = 'true_false'
Methods
- all() : array<string|int, string>
- ccProfile() : mixed
- Common Cartridge cc_profile fieldentry for an item.
- isValid() : mixed
- label() : mixed
- labels() : array<string, string>
- Author-facing labels (not QTI terminology).
- usesAcceptedStrings() : mixed
- usesChoiceAnswers() : mixed
Constants
ESSAY
public
mixed
ESSAY
= 'essay'
FILL_BLANK
public
mixed
FILL_BLANK
= 'fill_blank'
MULTIPLE_CHOICE
public
mixed
MULTIPLE_CHOICE
= 'multiple_choice'
MULTIPLE_RESPONSE
public
mixed
MULTIPLE_RESPONSE
= 'multiple_response'
PATTERN_MATCH
public
mixed
PATTERN_MATCH
= 'pattern_match'
TRUE_FALSE
public
mixed
TRUE_FALSE
= 'true_false'
Methods
all()
public
static all() : array<string|int, string>
Return values
array<string|int, string>ccProfile()
Common Cartridge cc_profile fieldentry for an item.
public
static ccProfile(mixed $type) : mixed
Parameters
- $type : mixed
isValid()
public
static isValid(mixed $type) : mixed
Parameters
- $type : mixed
label()
public
static label(mixed $type) : mixed
Parameters
- $type : mixed
labels()
Author-facing labels (not QTI terminology).
public
static labels() : array<string, string>
Return values
array<string, string>usesAcceptedStrings()
public
static usesAcceptedStrings(mixed $type) : mixed
Parameters
- $type : mixed
usesChoiceAnswers()
public
static usesChoiceAnswers(mixed $type) : mixed
Parameters
- $type : mixed