How to normalise a Test Paper
Date: Thu, 19 Oct 2000 19:03:32 +0800
Message-ID: <8smk3a$26c$1_at_coco.singnet.com.sg>
hi,
i am computerizing a school test paper module, and i am stuck at how to normalise the test paper into tables. the main problem is that a test question can be of many types, each with different data types. here are the objects in a somewhat BNF format :
TEST_PAPER := INSTRUCTIONS, (SECTION)+
SECTION := INSTRUCTIONS, (QUESTION)+
QUESTION := (COMPREHENSION | COMPOSITION | SHORT_QUESTION | TRUE_FALSE |
CLOZE_PASSAGE | MCQ)+
COMPREHENSION := INSTRUCTIONS, PASSAGE, (COMPRE_QUESTION)+
COMPOSITION := INSTRUCTIONS, TOPIC
SHORT_QUESTION := QUESTION, ANSWER
MCQ := QUESTION, RIGHT_ANSWER, (WRONG_ANSWERS)+
INSTRUCTIONS := alphanumeric
TOPIC := alphanumeric
COMPRE_QUESTION := (SHORT_QUESTION | TRUE_FALSE | MCQ)+
PASSAGE := alphanumeric
TRUE_FALSE := QUESTION, TRUE_FLAG (indicates that the answer to this
question is TRUE)
QUESTION := alphanumeric
ANSWER := alphanumeric
RIGHT_ANSWER := alphanumeric
WRONG_ANSWER := alphanumeric
Received on Thu Oct 19 2000 - 13:03:32 CEST