Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The quiz sections relationship is the key to associating questions with a quiz. The process flow is that the user first create creates a quiz (record) and in the next step makes additional decisions which populate the a section record. There is a minimum of a one-to-one relationship when a quiz is created, i.e., for every quiz created (past the initial stagequizzes w/o this association are not complete thus irrelevent) there is at least one section automatically associated with it. Some quizzes, based on the user's design, will have more than one section.

The association of quizzes with questions occurs in qz_section_questions. The unique secid (from qz_section) is matched with a question key (qcid) - the two foreign keys are the primary key with additional information for the order/sequence of appearance.