Changes between Version 45 and Version 46 of BoltRef


Ignore:
Timestamp:
Oct 29, 2008, 9:47:36 AM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BoltRef

    v45 v46  
    7777{{{
    7878fitb(
    79     regexp
     79    [ field(N) | box(nrows, ncols) ]
     80    [ answer(x) | answer_regexp(x) | answer_func(function-name) ]
    8081    [ weight(X) ]
    8182);
     
    8384
    8485This specifies a "fill in the blank" question.
    85 Any answer matching the given regular expression is considered correct.
     86
     87 * '''field(N)''' specifies an input field of size N.
     88 * '''box(n, m)''' specifies an input field with n rows and m columns.
     89 * '''answer(x)''' specifies that the correct answer is x.
     90 * '''answer_regext(x)''' specifies that any response matching the given regular expression is correct.
     91 * '''answer_func(f)''' specifies that grading should be done by the given function.  This function is passed the student response and returns a number in [0..1].
    8692
    8793{{{
     
    134140
    135141The attributes of a course unit are specified in the course document.
     142
    136143They might include, for example:
    137144 * The [http://en.wikipedia.org/wiki/Reading_level reading level] of the content.