|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.problets.tutor.DemandTutor
public abstract class DemandTutor
Serves as the base class for all the tutor classes such as OutputTutor, DebugTutor, StateTutor, etc.
| Field Summary | |
|---|---|
static java.lang.String |
DONT_KNOW_ANSWER
|
| Fields inherited from interface org.problets.tutor.GradeConstants |
|---|
CORRECT, GENERATED, gradeText, INCORRECT, MISSED, PARTIAL, TOTAL_STATS, UNATTEMPTED |
| Constructor Summary | |
|---|---|
DemandTutor(StudentModel inStudent,
LogModel inLog)
|
|
| Method Summary | |
|---|---|
void |
generateFeedback()
Forces the tutor to generate and save the grade and narration. |
java.util.Vector |
getActualAnswer()
Returns the correct answer for use by the client - Used for testing. |
java.util.Vector |
getGrade()
Returns the student's grade, actual answer and student answer. |
java.util.Vector |
getNarration()
Returns the adapted narration of code execution. |
static void |
main(java.lang.String[] args)
|
void |
update(CodeModel inCode)
This must be called first for every new problem |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DONT_KNOW_ANSWER
| Constructor Detail |
|---|
public DemandTutor(StudentModel inStudent,
LogModel inLog)
| Method Detail |
|---|
public java.util.Vector getGrade()
public java.util.Vector getNarration()
public java.util.Vector getActualAnswer()
public void update(CodeModel inCode)
public void generateFeedback()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||