QuestionInterface
QuestionInterface[type,p1s1,p2s2,… >]
defines an interface for a QuestionObject using the given type and properties pi with settings si.
Details
- QuestionInterface is typically used within QuestionObject[QuestionInterface[…],…] to directly specify an interface.
- Interfaces are also listed on the Listing of Question Interface Types.
- Supported interface types in type include:
-
"MultipleChoice" select a correct answer from a list "ShortAnswer" enter an answer using an input field "MultipleShortAnswers" enter multiple answers into input fields "ChooseMultiple" select any number of items from a defined list "MultipleChoiceGrid" group items into categories using a table "TrueFalse" determine whether a question is true or false "NumericRange" choose a value from within a range "Code" write code to answer a question {}[[3]]"TextCompletion" type to fill in blanks {}[[3]]"SelectCompletion" choose items to fill in blanks {}[[3]]"DragCompletion" drag items from a pool to fill in blanks {}[[3]]"DragCategorize" group items into categories using a drag-and-drop interface {}[[3]]"ClickLocations" locate items on an image {}[[3]]"Sort" order a list using a drag-and-drop interface "SelectPair" categorize an item "SelectColor" choose a color - The supported properties pi differ for each interface type. Common properties include:
-
"Prompt" question or prompt shown with the interface "MaxAnswers" maximum answers allowed for elementwise assessments "MinAnswers" minimum answers allowed for elementwise assessments - QuestionInterface[type,"prompt"] is equivalent to QuestionInterface[type,<"Prompt""prompt" >].
- In QuestionObject[QuestionInterface[type,props],assessment], properties not included in props are inferred from assessment whenever possible.
Examples
open allclose allScope (7)
Create a grid for assigning an answer to each of several items:
Make an interface for pairing two items:
Create a multiple-choice question with assessment:
Create a true/false question with a test for assessment:
Create a quiz with a color as an input and assessment using tolerance:
Create a multiple-choice question with multiple correct answers:
Create a slider-based question interface with assessment using a test function:
Text
Wolfram Research (2021), QuestionInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/QuestionInterface.html.
CMS
Wolfram Language. 2021. "QuestionInterface." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuestionInterface.html.
APA
Wolfram Language. (2021). QuestionInterface. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuestionInterface.html