Question Selection Algorithm
This describes how an Assessment Attempt quiz is generated:
- Add the top-most QuestionBank to the list of Assessment Attempt Questions.
- On the top-most QuestionBank run the FindQuestions routine outlined below:
FindQuestions(QuestionBank QB):
- Sort QB’s Question and QuestionBank children by the following criteria
- If
select
issequential
: Document order - If
select
israndom
: Random - If
select
israndom-unseen
: Number of times this child has been used in an Assessment Attempt quiz. If two children have been used an equal number of times then sort these two children randomly.
- If
- Select the top-most number of children equal to
choose
. Ifchoose
is greater than the number of children to choose then select all children. Replace QB in the Assessment Attempt Questions list with all selected children. - For every Child in QB’s children:
- Run FindQuestions(Child)