Picture of Chris Gillison
Restricting number of questions asked in an assessment
by Chris Gillison - Wednesday, 12 July 2017, 6:47 PM
 

Hi everyone,

I have a pool of 20 assessment questions and I want the learner to be asked a random 10 lifted from that pool. Currently all the questions have the same "_quizBankID": 1

I set the following code in my articles.json...

"_banks": {
  "_isEnabled": true,
  "_split": "10",
  "_randomisation": true
}

I expected this to limit the questions asked to 10 but it didn't!

I've managed to achieve what I want by adding a 'dummy' question with a "_quizBankID": 2 and setting the split to "_split": "10,0" . As such, the dummy question from Bank 2 won't be asked, and 10 are picked from the pool of 20 questions in Bank 1.

This seems like a bit of a hack though! Is there a nicer way to achieve the above? I was hoping something like "_questionsToAsk": 10  could be set in articles.json but there doesn't appear to be that option.

Many thanks,

Chris

Picture of Matt Leathes
Re: Restricting number of questions asked in an assessment
by Matt Leathes - Thursday, 13 July 2017, 7:54 PM
 

Hi Chris

If you only have one bank of questions you want to be using a _randomisation object in your _assessment config, rather than _banks.

This should do what you need:

"_randomisation": {
  "_isEnabled": true,
  "_blockCount": 10
},

Hope this helps!

Picture of Chris Gillison
Re: Restricting number of questions asked in an assessment
by Chris Gillison - Friday, 14 July 2017, 9:01 AM
 

Perfect! Many thanks Matt.

I was unaware of "_blockCount" - exactly what I need.