Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Numeric questions use a numeral for a response rather than a multiple choice option. There are two kinds, the very common Numeric Free Response (NFR, also called Open), and the Algebraic Free Response, which offers a pallet to select functions from.

Numeric Free Response (template #174705):

Notice that the answer (ans1= ) in the code box calls a global double variable that is the solution. Ex: ans1=@a1 (this is different when coding a TeX multiple choice answer, where ans1= the answer choice number that is correct; more info on that here.)

Algebraic Free Response (template #179792. Notice how variables are expected in the answer, in this case, 'mx+b')

...