Пример #1
0
 /**
  * Takes in user response and whether a hint was used. Evaluates whether answer was correct,
  * assigns points, and logs information about the question response.
  */
 public void enterAnswer(
     String userAnswer,
     String userAnswerBeforeHint,
     int recallTypeBeforeHint,
     int recallType,
     long millis,
     boolean hintused,
     int certainty,
     int memoryType,
     int recency,
     boolean userGaveUp) {
   MemoryQuestion mq = questions.get(listLocation);
   mq.recordUserResponse(
       userAnswer,
       userAnswerBeforeHint,
       recallTypeBeforeHint,
       recallType,
       millis,
       hintused,
       certainty,
       memoryType,
       recency,
       userGaveUp);
 }
Пример #2
0
 /*returns current question being considered in the study*/
 public MemoryQuestion returncurrentQuestion() {
   return (questions.get(listLocation));
 }