"Code" (问题界面类型)
"Code" (问题界面类型)
"Code"
提供用于编写代码的输入框.
属性
- 在 QuestionInterface["Code",props] 中,props 是支持下列密钥的 Association:
-
"Prompt" None 向用户提问的文本 - Additionally, options for InputField are supported, including:
-
Background Automatic input field background color FieldHint Null expression to display when the input field is empty ImageSize {Scaled[0.7],Automatic} the overall image size of the displayed input field
相应 AssessmentFunction
- "Code“ 是为 AssessmentFunction[HoldPattern[c],"CodeEquivalence"] 形式的 AssessmentFunction 自动分配的接口类型.
范例
打开所有单元 关闭所有单元范围 (2)
相关指南
-
▪
- 问题与评估