Skip to main content

How to Import and Use GIFT Questions in Moodle

The GIFT format is a simple plain-text format for creating multiple-choice, true/false, and other types of questions. Here’s how to import and use GIFT questions in Moodle.


Step 1: Prepare Your GIFT File

  1. Ensure you have the GIFT file created by ClassCraft AI or any other source.
  2. Verify the file contains properly formatted questions (e.g., multiple-choice, true/false). Example GIFT syntax:
    ::Question 1:: Who discovered penicillin? {
=Alexander Fleming
~Marie Curie
~Louis Pasteur
~Isaac Newton
}

Step 2: Log in to Moodle

  1. Visit your Moodle site and log in using your credentials.
  2. Navigate to the course where you want to upload the questions.

Step 3: Import the GIFT File

  1. Access the Question Bank:
  • Go to your course.
  • Click on the Settings menu (gear icon).
  • Select More > Question bank > Import.
  1. Choose the GIFT Format:
  • Under File format, select GIFT.
  1. Upload Your File:
  • Click Choose a file and upload your GIFT file.
  • Alternatively, drag and drop the file into the upload area.
  1. Import the Questions:
  • Click Import.
  • Review the questions in the preview screen to ensure they’ve been imported correctly.
  • Click Continue to finish the import process.

Step 4: Add Questions to a Quiz

  1. Create or Edit a Quiz:
  • Go to your course.
  • Click Add an activity or resource and select Quiz.
  • Name your quiz and configure the settings as needed.
  1. Add Questions:
  • Edit the quiz.
  • Click Add > From question bank.
  • Select the imported questions and click Add selected questions to the quiz.

Step 5: Preview and Publish

  1. Preview Your Quiz:
  • Use the Preview option to ensure the questions appear and function correctly.
  1. Publish the Quiz:
  • Make the quiz available to students by updating the quiz settings or course visibility.