StudentLessonActs.AdhocCorrectAnswerRate Method

CSAL Mongo

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.Model
Assembly: 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: OnlineSystem Int32
Index where checking begins
end
Type: OnlineSystem Int32
Last index checked - if less than 0, then index is assumed to be last in list
noAnswers (Optional)
Type: OnlineSystem Double
The value to return if there are no answers for the given indexes

Return Value

Type: OnlineDouble
The 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