# 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="/files/3fmaKIfrYJzppAPpYjYk" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/wWB0S6EPbhaoDcF4Wsgf" 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="/files/usvUOkcwyI1qQ9xFmMBp" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/TLzC36yNlKEK5IgML1Yd" 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="/files/wybT8gqSRkqKpJdTQlQV" 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="/files/EQGMcjck3DSGC1lUwMfP" 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="/files/gKVxMY5Jg4uDoQfac84i" 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdesk.ldtsoft.work/ldt-online-course/course-management/bulk-importing-quiz-questions-for-your-courses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
