Class InlineChoice is responsible for creating instances of dropdown lists
as answer options in Entry type assessment tasks according to the QTI 2.1
standard.
Slots
response_identifierA character value representing an identifier for the answer. By default, it is generated as 'id_gap_dddd', where dddd represents random digits.
pointsA numeric value, optional, representing the number of points for this gap. Default is
1.placeholderA character value, optional, responsible for placing helpful text in the text input field in the content delivery engine.
expected_lengthA numeric value, optional, responsible for setting the size of the text input field in the content delivery engine.
choicesA character vector containing the answers shown in the dropdown list.
solution_indexA numeric value, optional, representing the index of the correct answer in the options vector. Default is
1.choices_identifiersA character vector, optional, containing a set of identifiers for answers. By default, identifiers are generated automatically according to the template "OptionD", where D is a letter representing the alphabetical order of the answer in the list.
shuffleA boolean value, optional, determining whether to randomize the order in which the choices are initially presented to the candidate. Default is
TRUE.