Calculated questions

Description

At the moment the calculated question type is missing in Samigo, i.e. the ability to have questions which contains variables, a method of setting the range of those variables and the number of questions to be generated of that type.
eg. what is {x} + {y} where 0 < x < 100 and 0 < y < 50

i.e., integration with equation editors.

Attachments

4
100% Done
Loading...

Activity

Show:

Aaron Zeckoski February 6, 2012 at 8:35 AM

I think there might need to be some kind of conversion script here, not sure how that is handled with samigo exactly

Aaron Zeckoski February 6, 2012 at 8:34 AM

Patch applied to trunk

Aaron Zeckoski February 6, 2012 at 8:34 AM

You will have to run some DDL in order to make this patch/item type work (use the right one for your database type):

– // CALCULATED_QUESTION (Mysql DDL below)
INSERT INTO SAM_TYPE_T (TYPEID , AUTHORITY, DOMAIN, KEYWORD, DESCRIPTION, STATUS, CREATEDBY, CREATEDDATE, LASTMODIFIEDBY, LASTMODIFIEDDATE)
VALUES (15, 'stanford.edu', 'assessment.item', 'Calculated Question', NULL, 1, 1, SYSDATE(), 1, SYSDATE());

– // CALCULATED_QUESTION (Oracel DDL below)
INSERT INTO SAM_TYPE_T ("TYPEID" ,"AUTHORITY", "DOMAIN", "KEYWORD", "DESCRIPTION", "STATUS", "CREATEDBY", "CREATEDDATE", "LASTMODIFIEDBY", "LASTMODIFIEDDATE")
VALUES (15, 'stanford.edu', 'assessment.item', 'Calculated Question', NULL, 1, 1, SYSDATE, 1, SYSDATE);

– // CALCULATED_QUESTION (HSQL DDL below)
INSERT INTO SAM_TYPE_T ("TYPEID" ,"AUTHORITY", "DOMAIN", "KEYWORD", "DESCRIPTION", "STATUS", "CREATEDBY", "CREATEDDATE", "LASTMODIFIEDBY", "LASTMODIFIEDDATE")
VALUES (15, 'stanford.edu', 'assessment.item', 'Calculated Question', NULL, 1, 1, SYSDATE, 1, SYSDATE);

Aaron Zeckoski February 6, 2012 at 8:26 AM

Actual patch as applied to trunk: sam_SAM-1139-trunk.patch.txt

Aaron Zeckoski February 6, 2012 at 8:21 AM

Actual applied trunk patch: sam_SAM-1139-trunk.patch.txt

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Conversion Script Required

Yes
Created February 8, 2006 at 8:22 AM
Updated March 23, 2022 at 3:01 PM
Resolved February 6, 2012 at 8:34 AM