Package | Description |
---|---|
com.wiris.quizzes.api | |
com.wiris.quizzes.api.ui |
Modifier and Type | Method and Description |
---|---|
Slot |
Question.addNewSlot()
Adds a new slot to this question.
|
Slot |
Question.addNewSlotFromModel(Slot slot)
Deprecated.
Use
copy(Slot) and AuthorAnswer.copy(AuthorAnswer) instead. |
Slot |
Slot.copy(Slot model) |
Slot[] |
Question.getSlots()
Gets the array of slots of this question.
|
Modifier and Type | Method and Description |
---|---|
Slot |
Question.addNewSlotFromModel(Slot slot)
Deprecated.
Use
copy(Slot) and AuthorAnswer.copy(AuthorAnswer) instead. |
Slot |
Slot.copy(Slot model) |
AssertionCheck[] |
QuestionInstance.getChecks(Slot slot,
AuthorAnswer authorAnswer)
Returns the evaluation of the set of assertions resulting of using the grading
criteria contained in the
AuthorAnswer object to grade the answer entered
into a given Slot . |
double |
QuestionInstance.getCompoundGrade(Slot slot,
AuthorAnswer authorAnswer,
int index)
Returns the grade associated to the answer of one of the subquestions in a
compound answer question type.
|
double |
QuestionInstance.getGrade(Slot slot,
AuthorAnswer authorAnswer)
Returns the grade associated to the comparison between a student answer and
a correct answer between 0 (incorrect) and 1 (correct).
|
java.lang.String |
QuestionInstance.getSlotAnswer(Slot slot)
Gets the value of the student answer entered in the given slot.
|
boolean |
QuestionInstance.isSlotAnswerCorrect(Slot slot)
Returns whether the answer entered in a given
slot is correct according to previously given
QuestionResponse from the quizzes service. |
void |
Question.removeSlot(Slot slot)
Removes a slot from this question.
|
void |
QuestionInstance.setSlotAnswer(Slot slot,
java.lang.String answer)
Sets the student's answer in a given slot.
|
Modifier and Type | Method and Description |
---|---|
AnswerFeedback |
QuizzesComponentBuilder.newAnswerFeedback(QuestionInstance instance,
Slot slot,
AuthorAnswer authorAnswer)
Create a
QuizzesComponent with the feedback for an student's
response based on the instance assertion checks. |
AnswerField |
QuizzesComponentBuilder.newAnswerField(QuestionInstance instance,
Slot slot)
Create a
QuizzesField for the student answer input field corresponding to a given Slot . |
AuthoringField |
QuizzesComponentBuilder.newAuthoringField(Question question,
Slot slot,
AuthorAnswer authorAnswer)
Create a
QuizzesField that allows the user to define the grading criteria of a given AuthorAnswer . |
AuxiliaryCasField |
QuizzesComponentBuilder.newAuxiliaryCasField(QuestionInstance instance,
Slot slot)
Create a CalcMe app component related to the student answer corresponding to a given
Slot . |
java.lang.Object |
MathViewer.renderCorrectAnswer(QuestionInstance instance,
Slot slot,
AuthorAnswer authorAnswer)
Render the value of the correct answer contained in the given author answer,
using the syntax of the given slot.
|
Copyright © 2021 Maths for More S.L. All Rights Reserved.