request
  • dataSet
    • computeDataSet
    • getDataSetPage
  • quiz
    • addQuiz
    • getQuiz
    • getQuizAttribute
    • getQuizSet
  • result
    • getResults
  • user
    • getUser
    • getUserAttribute
    • getUserGroupSet
    • getUserSet
model
  • dataSet
    • DataSetPage
  • exception
    • JllmAPIException
    • subtypes
      • BadParameter
      • InternalServerError
      • MissingParameter
      • UnauthorizedOperation
      • UnexpectedServerResponse
      • UnsupportedRequest
  • item
    • Item
    • ItemAttribute
    • subtypes
      • ComputedResult
      • Quiz
      • User
      • UserGroup
  • question
    • Question
    • subtypes
      • FreeAnswerNumber
      • FreeAnswerText
      • MCQOneGoodAnswer
      • MCQSeveralGoodAnswers
      • TrueFalse

MultipleChoicesOneGoodAnswerQuestion

Models a question which several propositions and exactly one good answer.

Supertype

Question

Subtypes

None

JSON Representation

{
    "title" : string,
    "type" : "MultipleChoicesOneGoodAnswer",
    ("media" : { "type" : string, "url" : URL },)
    "propositions" : string[],
    ("goodAnswer" : string)
}

Fields description

See Question for a general description of the inherited fields title, media and goodAnswer.

Field Meaning Constraints
propositions A set of choices offered to the answering user. Contains between 2 and 6 distinct strings, between 1 and 50 characters long.
goodAnswer The only correct proposition of this question. One of the strings contained in propositions. See Question to know when this field is present.