Range Question

A range question component that asks students to supply a lower and upper end point.


    question="Approximately in which range lie 99% of observations drawn from a standard normal distribution?"

Open interactive preview


  • question | string: displayed question. Default: ''.
  • solution | array<number>: two-element array containing the endpoints of the correct range. Default: none.
  • hintPlacement | string: placement of the hints (either top, left, right, or bottom). Default: 'top'.
  • hints | array<string>: hints providing guidance on how to answer the question. Default: [].
  • feedback | boolean: controls whether to display feedback buttons. Default: false.
  • chat | boolean: controls whether the element should have an integrated chat. Default: false.
  • digits | number: number of digits that have to match between solution and user-supplied answer. If not given or set to null, the component checks for strict equality. If set to 0, checks for integer equality.. Default: 3.
  • max | number: maximum input value. Default: null.
  • min | number: minimum input value. Default: null.
  • provideFeedback | boolean: indicates whether feedback including the correct answer should be displayed after learners submit their answers. Default: true.
  • voiceID | string: voice control identifier. Default: none.
  • style | object: undefined. Default: {}.
  • onChangeLower | function: callback triggered after the lower bound is changed by the user. Default: onChangeLower() {}.
  • onChangeUpper | function: callback triggered after the upper bound is changed by the user. Default: onChangeUpper() {}.
  • onSubmit | function: callback invoked when answer is submitted; has as first parameter a boolean indicating whether the answer was correctly anwered (if applicable, null otherwise) and the supplied answer as the second parameter. Default: onSubmit() {}.

results matching ""

    No results matching ""