Displaying Quiz Grades Real-Time

Example

Grading a high school chemistry quiz.

MGI Tags

  • mgiGet
  • mgiQuiz

Steps

  1. Open the quiz grading page in a text editor.
  2. Insert the mgiQuizGrade variable.
  3. Save the quiz grading page.
  4. FTP the quiz grading page to the web server running MGI.
  5. Take the quiz.


Step 1: Open the quiz grading page in a text editor.

Open the quiz grading page in a text editing program that allows you to view and modify HTML.

Step 2: Insert the mgiQuizGrade variable.

Enter an mgiGet tag with the mgiQuizGrade variable to dynamically display the student's quiz grade after they submit the quiz. In the name parameter, enter "mgiQuizGrade".
<H2>Your quiz has been received.</H2>

<P>Your grade is <mgiGet name="mgiQuizGrade">.</P>

<mgiQuiz databasefilelocation="Chemistry" tableName="Quiz1F99" 
formatFileLocation="quiz1f99format.txt">

Step 3: Save the quiz grading page.

Save the changes you have made to the quiz grading page.

Step 4: FTP the quiz grading page to the web server running MGI.

Upload the quiz grading page to the web server using an FTP program.

Step 5: Take the quiz.

Access the quiz page and answer each question. Submit the quiz. The quiz grade displays:

Your quiz grade has been received.

Your grade is 100.


[Return to the Administering Online Quizzes Menu]


[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]