bamcdougall / course-builder

Automatically exported from code.google.com/p/course-builder
1 stars 0 forks source link

Feature Request: New Activity types: checklist, functional, server query #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I feel it would be very valuable to have the following additional activity 
types and not much additional code is required:

(1) Checkboxes : this differs from multiple choice only in that
(a) checkboxes are rendered in place of radio buttons.
(b) For evaluation, all checks are matched.
In particular, the specification is identical expect for activity type.

(2) Function checking the answer: To allow for essentially flexibility in 
evaluation, this is a variant of the present freetext with:
(a) In place of a regular expression, a javascript function is given as a 
parameter (with the activity js file having the function defined).
(b) To evaluate, the given function is applied and returns True or False.
     The code is essentially that of freetext - the freetext code in fact can be modified to this more general form, and in case of regular expression call this with the given function (whether this is a good way my coding skills do not let me say).

(3) This is a mild variation of (2) (and can be a call to (2)): the answer is 
posted to a server which responds with `true' or `false'. This is to allow 
occasional coding in Python (for example) rather than javascript, in case the 
test is a complicated one (e.g. to check if a polynomial matches some 
condition).

With (2) and (3), a user can in principle handle any answer type that can be 
computer evaluated.

            Thanks,
            Siddhartha Gadgil

Original issue reported on code.google.com by siddhart...@gmail.com on 25 Sep 2012 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by r...@google.com on 31 Jan 2015 at 12:27

GoogleCodeExporter commented 9 years ago

Original comment by r...@google.com on 2 Feb 2015 at 11:17