Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Numerical question units and intervals

From MoodleDocs
Revision as of 13:08, 23 November 2006 by Jeff Forssell (talk | contribs)

This is my proposal for how the numerical question function and interface should be improved.

[_]Allow evaluation of expressions

 Checking this would accept  5/2   0.5*5  5^2/2   5^(5-3)/2  25*10^-1  sqrt(25)/2

[_]Allow fraction type 2 1/2 as 2.5

[_] Translate "½" as "+.5" but give warning "Avoid ½ character in numerical expressions!"

Answer 1:[__2.5___] Accepted error ± [0.5] Grade: [100%] Feedback:



Answer 2: Accepted error ± Grade: Feedback:


.... Answer 10: Accepted error ± Grade: Feedback:


[_] differentiated unit feedback, which is all of:

All of:  [_] feedback for lacking unit [_]Feedback for accepted UNIT but wrong number 
         [_] feedback for "possibly right number" if unit is adjusted     

Unit: [ ] (optional)

 Should accept arrays like kg, kilogram, kilograms , kilogramme 

Alternative Units: Multiplier:[ ] Unit: [

Should possibly give feedback for misspelling including case errors  m milli  M Mega 

Multiplier: Unit: