5.3. Take Test (createtest.rsl)

(****
 *   The Create Test module provides the objects and functions that take
 *   the test that the teacher publishes and adds in the answers from
 *   the student.
 *)
module CreateTest;

export CreateTest;

object TakenTest inherits from OriginalTest is
  components: StudentAnswer*;
  description: (*
      TakenTest is the Test with the original questions plus the answers.
  *);
end TakenTest;

object StudentAnswer is
  components: MCStudentAnswer or EssayStudentAnswer or TrueFalseStudentAnswer
              or CodeStudentAnswer or MultpleStudentAnswer or 
	      MatchingStudentAnswer;
  description: (*
      Student Answer differentiates between the different types of answers
  *);
end StudentAnswer;

object MCStudentAnswer is
  components: ;
  description: (*

  *);
end StudentAnswer;

object EssayStudentAnswer is
  components: String;
  description: (*

  *);
end StudentAnswer;

object TrueFalseStudentAnswer is
  components: ;
  description: (*

  *);
end StudentAnswer;

object CodeStudentAnswer is
  components: String;
  description: (*

  *);
end StudentAnswer;

object MultpleStudentAnswer is
  components: ;
  description: (*

  *);
end StudentAnswer;

object MatchingStudentAnswer is
  components: ;
  description: (*

  *);
end StudentAnswer;






Prev: schedule.rsl | Next: view.rsl | Up: spec | Top: index