# Bulk Importing Quiz Questions for Your Courses

This guide will show you how to quickly create a quiz with a large number of questions by uploading a single CSV file.&#x20;

This is the fastest way to migrate an existing question bank from another system (like Google Forms, Word, or Excel) into your LDT course.

### Prerequisites

* **Course** and **Module** are already created: You have an available lesson within a module to add the quiz to. Follow [this guide to create your new course](https://helpdesk.ldtsoft.work/ldt-online-course)

### Step 1: Add a Quiz to Your Lesson

First, you need to create the quiz content block within your course lesson.

Navigate to your lesson: Go to **Courses** > Select your course > Select your module > Select or create a Lesson.

* **Add new content**: In the lesson, scroll down to the Contents section and click + Add new content.
* Select content type: Choose "**Quiz/tests**" from the list.
* Name your quiz: Enter a Content title.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Ft0uqueOcozymwwsQISV7%2Fcourse%207.1.png?alt=media&#x26;token=19a7daec-0dfc-4918-8070-475280a904ef" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2FcgZ0NRf8bAeFDLkac0qE%2Fcourse%20a.1.png?alt=media&#x26;token=0f88b680-72cc-466e-a7ae-2614bd19dbd5" alt=""><figcaption></figcaption></figure>

### Step 2: Access the Bulk Import Feature

After adding the quiz content block, you'll find the option to import questions.

* Within the quiz setup interface, look for and click the **Add questions in bulk** button.
* A new window will appear with an Upload your csv file option and a Download sample csv link.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2FG0rCNxfYfBDGahivozaD%2Fcourse%20a.2.png?alt=media&#x26;token=1b8c6951-e2e4-4885-bb66-21bfa850c992" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fnf0lzZYpJWBx9c4T0E1h%2Fcourse%20a.3.png?alt=media&#x26;token=ca4c0835-f64b-44ea-8a39-dbe4f160f162" alt=""><figcaption></figcaption></figure>

### Step 3: Download the CSV Template and Fill in Your Questions

This is the most critical step. Follow these instructions precisely to avoid errors.

* **Download the template**: Click Download sample csv to get the template. ALWAYS use this template to ensure the correct format.
* **Fill in the information**: Populate the columns with your question data. The key columns are:
* **Question**: The text of your question.
* **Type**: The question type. Enter "Choice" for multiple-choice or "Essay" for a free-response question.
* **Explanation**: An optional explanation for the answer.
* **Answer**: The text of the answer choice.
* **Is Correct**: Mark whether an answer is correct. Enter "Yes" for the correct answer and "No" for incorrect ones.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2FUgAXuKAcwP1K5UaWRCvf%2Fcourse%20a.4.png?alt=media&#x26;token=f03f62cb-8161-4bed-a49d-8517fe7e9969" alt=""><figcaption></figcaption></figure>

### IMPORTANT RULES FOR FORMATTING THE CSV FILE:

* Multiple Choice Questions (Type: "Choice"):
* A single question will span MULTIPLE ROWS in the CSV file, with each row representing one answer option.
* The row containing the correct answer should have "Yes" in the "Is Correct" column.
* Essay Questions (Type: "Essay"):
* Only ONE ROW is needed for an essay question.
* The "Answer" and "Is Correct" columns can be left blank.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2FUEspy67rkakVvpBu5KTN%2Fcourse%20a.5.png?alt=media&#x26;token=7ba657d2-787d-4b22-9a7d-8b2c268c68b8" alt=""><figcaption></figcaption></figure>

### Step 4: Upload the CSV File

Once your CSV file is complete and saved, you can upload it.

* Go back to the import interface in LDT, click **Upload** your csv file, and select your file.
* The system will process and import all the questions directly into your quiz.

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2FJyKNj60NARjVOgckCz3w%2Fcourse%20a.7.png?alt=media&#x26;token=52eacdf5-5406-439e-9918-754d9fca5593" alt=""><figcaption></figcaption></figure>

### Step 5: Review and Configure Additional Settings

After importing, take a moment to review the quiz to ensure everything looks correct. You can also configure additional settings:

* **View mode**: Choose between Slide (one question at a time) or Scrollable (all questions on one page).
* **Require student to pass**: Check this box to prevent students from progressing until they pass the quiz.
* **Maximum number of times a student can retake**: Leave this field empty for unlimited retakes, or enter a specific number.
* **Allow students to view a summary**: Check this to let students see their results after completion.

<br>
