Using ChatGPT to Generate Multiple-choice Canvas Quizzes and Tests

This guide will allow you to use ChatGPT to generate quiz questions and easily import them into Canvas.

We recommend using ChatGPT 4 or higher. Please check ChatGPT’s output for accuracy and appropriateness before assigning to students.

 

  1. Upload a document or paste text from which you wish ChatGPT to generate quiz questions from. You can also simply give ChatGPT a topic to generate questions about.

  2. Ask ChatGPT to generate a <number> question quiz based on the document or text. Paste in the following prompt before pressing enter:

    When creating the quiz, please format exactly as directed. Because I will paste this text into software and the formatting is very important, please do not indent anything at all. The quiz should be for academically advanced high school students. Each multiple-choice question must be numbered with a number, followed by a period. There should be four answer choices for each question. Each answer choice should be on its own line and must start with a lower-case letter, followed by a close parenthesis. The correct answer must be designated by placing an asterisk  before the lower case letter and close parenthesis in front of the correct answer line. Provide feedback on each answer directly underneath each answer line (there should be a separate feedback line underneath each answer line). Answer feedback should be preceded by three periods and a space, followed by the answer feedback. All questions, answers, and answer feedback must be accurate and not fabricated. 

    Remove all indentations

For larger quizzes, you may need to work in batches, as ChatGPT will not always generate the full quiz all at once. If you are generating answer feedback for each answer choice (as in the prompt above), this requires ChatGPT to generate a lot of text. Try batches of 8 questions at a time.

  1. Then copy and paste ChatGPT’s output into the UNC Text Quiz Builder

Pay attention to the formatting rules for the text you paste into the UNC Text Quiz Builder site. If you receive error messages, you may need to remove extra indentations ChatGPT inserted. ChatGPT occasionally outputs incorrectly formatted quiz text.

 

  1. Once the text passes the quality check on the UNC Text Quiz Builder website, export a QTI file.

  2. In Canvas, Import the QTI file.