"Code" (Question Interface Type)
"Code"
provides an input field for writing code.
Details
- By default, "Code" question interfaces use input fields.
Properties
- In QuestionInterface ["Code",props], props is an Association that supports the following keys:
-
"Prompt" None text asking the user a question
Corresponding AssessmentFunction
- "Code" is the automatically assigned interface type for an AssessmentFunction of the form AssessmentFunction [HoldPattern [c],"CodeEquivalence"].
Examples
open allclose allBasic Examples (2)
Create a code interface:
A coding question with assessment:
Scope (1)
Create a coding challenge:
See Also
QuestionInterface QuestionObject
Question Interface Types: ShortAnswer MultipleShortAnswers
Comparison Methods: CodeEquivalence