(**** * 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 TakeTest; --import CreateTest; --export TakeTest; 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: string; description: (* *); end MCStudentAnswer; object MultpleStudentAnswer is components: string*; description: (* *); end MultipleStudentAnswer; object EssayStudentAnswer is components: string; description: (* *); end StudentAnswer; object TrueFalseStudentAnswer is components: ; description: (* *); end TrueFalseStudentAnswer; object CodeStudentAnswer is components: string; description: (* *); end CodeStudentAnswer; object MatchingStudentAnswer is components: MatchingPairs*; description: (* *); end MatchingStudentAnswer; --end TakeTest;