StudentLessonActs AdhocCorrectAnswerRate Method | CSAL Mongo Access Library |
Return the correct answer rate (from 0.0 to 1.0 inclusive) for the
lesson recorded by the Turns from index start to index end
Namespace: CSALMongo.ModelAssembly: CSALMongo (in CSALMongo.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public double AdhocCorrectAnswerRate( int start, int end, double noAnswers = 0 )
public double AdhocCorrectAnswerRate( int start, int end, double noAnswers = 0 )
Public Function AdhocCorrectAnswerRate ( start As Integer, end As Integer, Optional noAnswers As Double = 0 ) As Double
Public Function AdhocCorrectAnswerRate ( start As Integer, end As Integer, Optional noAnswers As Double = 0 ) As Double
public: double AdhocCorrectAnswerRate( int start, int end, double noAnswers = 0 )
public: double AdhocCorrectAnswerRate( int start, int end, double noAnswers = 0 )
Parameters
- start
- Type: System Int32
Index where checking begins
- end
- Type: System Int32
Last index checked - if less than 0, then index is assumed to be last in list
- noAnswers (Optional)
- Type: System Double
The value to return if there are no answers for the given indexes
Return Value
Type: DoubleThe correct answer rate (0.0 to 1.0 inclusive) for the turns from index start to index end. If no answers are found in the given range, then noAnswers is returned
See Also