Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Numeric questions use a numeral for a response rather than a multiple choice option.

Numeric answers can be submitted as an integer, decimal, or scientific notation without spaces or commas. By default, a given answer will be scored as correct if it is within 1% of the correct answer. However, this value can be changed when editing the question. The Quest system will calculate answers to at least six digits. For most problems in Quest the system does not calculate based off significant figures.

Students can use scientific notation for very large or very small numbers. For example, you could write 468 as 4.68e+02.

 

To create a numeric TeX question, follow the guidelines here to create a Tex Open question. Rather than using the multiple choice template, calculate the answer in the code portion, as seen below, and set the ans1 variable to your final value. If the question has multiple parts, there will be "ans2", "ans3", etc. variables as well.

 

void answer(void)
{
/* global double ans1 u={h} */
/* global double hl */

hl = randomStep(1, 5, .5, 2);

ans1 = hl;

}

  • No labels