Skip to content

You are viewing documentation for Instruqt 2.0 Labs - our upcoming product releasing in September 2026. For current Tracks documentation, please visitdocs.instruqt.com.

Drag Words Question


Defined inquizzes.hcl

The drag_words_question resource asks learners to drag words into blanks in a sentence. Mark each blank with underscores in the question text and list the correct words, in order, in answer.

resource "drag_words_question" "protocol" {
question = "The __________ protocol is connection-oriented, while __________ is connectionless."
answer = ["TCP", "UDP"]
}

Fields

FieldTypeRequiredDescription
questionstringUse __________ (underscores) to indicate where words should be dragged into
answerlist(string)List of words matching each blank in the question, in order
ConstraintsAt least one answer word is required
hintslist(string)Optional hints that can be revealed to help learners
tagslist(string)Optional tags for organizing and filtering questions
resource "drag_words_question" "protocol" {
question = "The __________ protocol is connection-oriented, while __________ is connectionless."
answer = ["TCP", "UDP"]
hints = ["One guarantees delivery, the other does not"]
tags = ["networking"]
}