Methods
(static) backToResults()
In an ended exam, go back from reviewing a question the results page.
(static) beginExam()
Start the exam - triggered when user clicks "Start" button on frontpage.
- Source:
- See:
(static) endExam()
Try to end the exam.
- Source:
- See:
(static) getAdvice()
Show the advice for the current question.
(static) hideSteps(partRef)
Hide the steps for a question part.
Parameters:
Name | Type | Description |
---|---|---|
partRef |
Numbas.parts.partpath | The id of the part. |
(static) jumpQuestion(jumpTo)
Try to move directly to a particular question.
Parameters:
Name | Type | Description |
---|---|---|
jumpTo |
number | Number of the question to jump to. |
(static) makeQuestionJumper(n) → {function}
Make a function which tries to jump to question N.
Parameters:
Name | Type | Description |
---|---|---|
n |
number | Number of the question to jump to. |
Returns:
Type | Description |
---|---|
function |
(static) nextQuestion()
Try to move to the next question.
(static) pauseExam()
Pause the exam.
- Source:
- See:
(static) previousQuestion()
Try to move to the previous question.
(static) regenQuestion()
Regenerate the current question.
(static) resumeExam()
Resume the paused exam.
- Source:
- See:
(static) revealAnswer()
Reveal the answers to the current question.
(static) showIntroduction()
Show the introduction text, while the exam is in progress.
(static) submitQuestion()
Submit student's answers to all parts in the current question.