public abstract class TakeTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<java.lang.Boolean> |
answeredQuestions |
(package private) int |
currentQuestion |
(package private) StudentAnswers |
studentAnswer |
(package private) double |
timeRemaining |
Constructor and Description |
---|
TakeTest() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract Question |
getQuestion(int number)
Jumps to desired question
|
(package private) abstract void |
submitAnswer(Answer answer)
Submits the selected or inputed answer to the currently selected
question.
|
(package private) abstract void |
submitTest(StudentAnswers studentanswer)
Submits the StudentAnswers to be graded.
|
double timeRemaining
java.util.List<java.lang.Boolean> answeredQuestions
int currentQuestion
StudentAnswers studentAnswer
abstract Question getQuestion(int number)
number
- - Question to retrieveabstract void submitAnswer(Answer answer)
answer
- - String to submitabstract void submitTest(StudentAnswers studentanswer)
studentanswer
- - is the list of answers to be submitted