QuestionObject
QuestionObject[q,assess]
represents the question q and the corresponding assessment assess.
QuestionObject[assess]
derives a question from the assessment.
Details and Options

- A QuestionObject is displayed as an interactive form in which answers are submitted and assessed.
- A QuestionObject is commonly created in a Question Notebook, available with CreateNotebook["QuestionNotebook"].
- In QuestionObject[q,assess], q accepts the following form:
-
"question" text prompt asking a question QuestionInterface[type,specs] a QuestionInterface object - The assessment assess accepts the following forms:
-
AssessmentFunction[…] assessment function <… > Association defining a valid key for AssessmentFunction f test function - The test function f should be a function that takes the answer and returns True or False based on the correctness.
- Supported interface types include:
-
"ChooseMultiple" select any number of items from a defined list "Code" enter code using an input field "MultipleShortAnswers" enter multiple answers into input fields "MultipleChoice" select a correct answer from a list "MultipleChoiceGrid" group items into categories using a table "NumericRange" choose a value from within a range "SelectPair" match an item with a category "SelectColor" choose a color "ShortAnswer" enter an answer using an input field "TrueFalse" determine whether a question is true or false
Examples
open allclose allScope (3)
Applications (1)
Wolfram Research (2021), QuestionObject, Wolfram Language function, https://reference.wolfram.com/language/ref/QuestionObject.html.
Text
Wolfram Research (2021), QuestionObject, Wolfram Language function, https://reference.wolfram.com/language/ref/QuestionObject.html.
CMS
Wolfram Language. 2021. "QuestionObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuestionObject.html.
APA
Wolfram Language. (2021). QuestionObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuestionObject.html