Package | Description |
---|---|
com.wiris.quizzes.api |
Modifier and Type | Method and Description |
---|---|
QuestionRequest |
QuizzesBuilder.newEvalMultipleAnswersRequest(java.lang.String[] correctAnswers,
java.lang.String[] studentAnswers,
Question question,
QuestionInstance instance)
Deprecated.
Like
QuizzesBuilder.newEvalRequest(java.lang.String, java.lang.String, com.wiris.quizzes.api.Question, com.wiris.quizzes.api.QuestionInstance) but this method allows to compare several student's
answers with several correct answers. |
QuestionRequest |
QuizzesBuilder.newEvalRequest(java.lang.String correctAnswer,
java.lang.String studentAnswer,
Question question,
QuestionInstance instance)
Deprecated.
Creates a new QuestionRequest object suitable to send to the quizzes
service in order to evaluate a student answer against a correct answer.
|
QuestionRequest |
Quizzes.newFeaturedAssertionsRequest(Question question)
Create a QuestionRequest that deduces the possible assertions for the correct answers of the question.
|
QuestionRequest |
Quizzes.newFeaturedSyntaxAssertionsRequest(Question question)
Create a QuestionRequest that deduces the possible syntax assertions for the correct answers of the question.
|
QuestionRequest |
Quizzes.newFeedbackRequest(java.lang.String html,
QuestionInstance instance)
Create a QuestionRequest that evaluates the student answer(s) and gets the variables to be used in the feedback.
|
QuestionRequest |
QuizzesBuilder.newFeedbackRequest(java.lang.String html,
Question question,
QuestionInstance instance)
Deprecated.
Create a QuestionRequest that evaluates the student answer(s) and gets the variables to be used in the feedback.
|
QuestionRequest |
Quizzes.newGradeRequest(QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to evaluate a set of student answers against a
set of correct answers using a defined criteria. |
QuestionRequest |
Quizzes.newMultipleAnswersGradeRequest(java.lang.String[] correctAnswers,
java.lang.String[] studentAnswers)
Like
Quizzes.newSimpleGradeRequest(String, String) but this method allows to compare several student's
answers with several correct answers using the default comparison criteria. |
QuestionRequest |
Quizzes.newSimpleGradeRequest(java.lang.String correctAnswer,
java.lang.String studentAnswer)
Creates a new
QuestionRequest object suitable to send to the quizzes service
in order to evaluate a student answer against a correct answer using the default criteria. |
QuestionRequest |
Quizzes.newVariablesRequest(java.lang.String html,
QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm. |
QuestionRequest |
QuizzesBuilder.newVariablesRequest(java.lang.String html,
Question question,
QuestionInstance instance)
Deprecated.
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm. |
QuestionRequest |
Quizzes.newVariablesRequestWithQuestionData(java.lang.String html,
QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm, but, unlike the
function Quizzes.newVariablesRequest(String, QuestionInstance) , this function automatically
includes in the QuestionRequest object the variable requests for the placeholders
that are present in any of the Question data fields, such as correct answers
and initial contents. |
Modifier and Type | Method and Description |
---|---|
QuestionResponse |
QuizzesService.execute(QuestionRequest request)
Makes a remote call to Wiris Quizzes web service and returns its result.
|
void |
QuizzesService.executeAsync(QuestionRequest request,
QuizzesServiceListener listener)
Makes an asynchronous remote call to Wiris Quizzes web service.
|
Copyright © 2021 Maths for More S.L. All Rights Reserved.