Formula essay Deprecated

Formula essay (Deprecated)

Attributes

  • text_blocks array

    List of custom text blocks. Maximum length 9 characters.

    Default: []

  • is_math boolean

    Set to true to have LaTeX or MathML contents to be rendered with mathjax.

    Default: false

  • metadata object

    Object containing additional information about the question.

  • metadata.distractor_rationale string

    Used to display individual response feedback/rationale to the student.

  • metadata.rubric_reference string

    A unique identifier for the rubric to be used with the question - defaults to course rubric if assigned in activity

  • metadata.sample_answer string

    A sample answer to be displayed on the Learnosity Reports API. HTML is supported.

  • metadata.acknowledgements string

    References for any text passages, documents, images etc. used in the question.

  • stimulus string

    The question stimulus. This can include text, tables, images, resources and LaTeX entered via the Math Editor.

  • stimulus_review string

    HTML/Text content displayed only in review state rendered above the response area. Supports embedded Feature <span> tags. Will override stimulus in review state.

  • instructor_stimulus string

    HTML/Text content displayed when showInstructorStimulus is set to true on the activity. Supports embedded Feature <span> tags.

  • type string

    Type of question being asked, e.g. 'association'

    Default: "formulaessay"

  • ui_style object

    Object used to control different aspects of the UI

  • ui_style.fontsize string

    Controls the size of base font for this question. Options are among 'small', 'normal', 'large', 'xlarge' and 'xxlarge'.

    Default: "normal"

  • ui_style.response_font_scale string

    This scales the font relative to the question's font size. Possible values:

    • "boosted" 150%
    • "normal" 100%

    Default: "boosted"

  • ui_style.default_mode string

    The default mode of the first line when question is first focused

    Default: "text"

  • ui_style.max_lines number

    Limits the number of lines of text / math that can be entered in the response area.

    Default: "unlimited"

  • ui_style.text_formatting_options array

    Click on the icon button for each text formatting option to enable it in the student toolbar, and click again to disable. You can also click and drag the icon buttons to set the order that the options will appear to the student in the toolbar.

    Default: ["bold","italic","underline","unorderedList"]

  • ui_style.keyboard_below_response_area boolean

    If true, the floating formula keyboard will appear below the question as a whole (instead of below each individual math editor in the question).

    Default: false

  • validation object

    In this section, configure the correct answer(s) for the question.

  • validation.max_score number

    The highest score a marker can award to this question response.

  • validation.min_score_if_attempted number

    Positive value indicating the minimum score if a student attempted the question.

    Default: 0

  • validation.unscored boolean

    When enabled, this option will remove all scoring from the question. This is useful for creating practice questions.

    Default: false

  • handwriting_recognises string

    A string with the name of one of the available math grammar sets.

    Default: "standard"

  • showHints boolean

    Disables hint, including keyboard shortcuts and group titles, shown on the keyboard's top left corner when hovering over a symbol group key.

    Default: true

  • horizontal_layout boolean

    Enables a horizontal layout with ten columns and two rows.

    Default: false

  • spellcheck boolean

    Control the input/textarea attribute spellcheck. See "W3C article". Note this is a browser feature and may not always be available.

    Default: true

  • response_container object

    Object that defines styles for the response container.

  • response_container.aria_label string

    The ARIA label for the response container. The label will be "Response area" by default if no label is provided.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.