"DragCompletion" (Question Interface Type)
"DragCompletion"
provides a fill-in the-blank interface with slots to fill by dragging items from a common pool.
Properties
- In QuestionInterface["DragCompletion",props], props is an Association that supports the following keys:
-
"Prompt" None text asking the user a question "Template" (required) template object with slots to be filled "Choices" Automatic available choices "ChoiceOrdering" Automatic function for ordering choices - The "Template" can be any content supported by TemplateObject or StringTemplate. When providing a string, template slots denoted by backticks `` define locations for blanks in the question interface.
- By default, the "Choices" are inherited from the AssessmentFunction and randomly sorted to avoid exposing the correct answer.
- When provided directly, "Choices" should have the form {item1,item2,…}. By default, the order will be maintained as provided.
- When "ChoiceOrdering"f is specified, the items will be presented as f[{item1,item2,…}].
Corresponding AssessmentFunction
- "DragCompletion" is not an automatically assigned interface type for an AssessmentFunction. It must be specified in QuestionInterface.
- The values vali in AssessmentFunction[{val1,…},…] should contain the answers for each slot in order.
Examples
open allclose allBasic Examples (3)
Scope (2)
Use TemplateObject to provide a template:
The choices can be any type of expression. Create a drag-completion question with images:
Properties & Relations (1)
Possible Issues (1)
The values in the AssessmentFunction should be lists:
Interactive Examples (1)
Create a QuestionGenerator for a "DragCompletion" question: