setItemDifficulty()
Sets the difficulty of the Item being edited.
You would want to use this method so that you can make your own calculations based on the difficulty value in an adaptive assessment context, for example.
Examples
authorApp.setItemDifficulty(difficulty);
Arguments
-
difficulty number
The difficulty to apply to the current Item. This is a numeric measure according to the Rasch model.
Return value
booleanReturns true
if successful.
Returns false
if unable to set the Item difficulty, for example, when not in the Item editor view.