> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/tips-and-tricks-for-mango-canvas/importing-test-or-quiz-from-moodle.md).

# Importing Test or Quiz from Moodle

## Method 1: Aiken to QTI (suitable for Aiken format file)

At the present, Mango does not support importing Aiken format/Word file, so a third-party tool will be used for this method.

Instructions on how to import tests fro CMU Exam to Mango are as follow.

1. Go to Quiz in Moodle (KC/Exam) and select gear button on the right. Click Question Bank >> Export.

<figure><img src="/files/p6gzypPCvFuFXMzGqWnv" alt=""><figcaption></figcaption></figure>

Export Question Bank from the selected course into .txt file (Aiken format)

<figure><img src="/files/ZVSeB4aidS8BO1Nri6Rr" alt=""><figcaption></figcaption></figure>

\
2\. Use a third-party tool to convert Aiken format file into QTI format which is compatible with Mango.\
<http://ec2-34-207-154-191.compute-1.amazonaws.com/>\
**Supported quiz type include 1) multiple choice, 2) true/false, and 3) multiple answer. The example of the format is in the link provided above.**

<figure><img src="/files/56zJrKtXzWxIqs3hgOIO" alt=""><figcaption></figcaption></figure>

3. You will gen an .QTI file after conversion.

<figure><img src="/files/D8OAQnqTfYrfGmJWOLRH" alt=""><figcaption></figcaption></figure>

4. Import .QTI file into Mango by using Import Content

<figure><img src="/files/HOeFtxew7sj0wEHl8xSO" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JFm8nF4kiSIsvEKaWlFf" alt=""><figcaption></figcaption></figure>

5. When the import is done, the quiz will appear and is ready to be edited or used.

<figure><img src="/files/kjMgEh0gMDfKor8ASWTL" alt=""><figcaption></figcaption></figure>

## Method 2: Backup >> Specific

1. Backup content from Moodle course.

{% embed url="<https://docs.tlic.cmu.ac.th/cmucanvas-manual/add-content/moodle-mango-canvas>" %}

2. During the import process, choose "Select specific content", and hit import.

<figure><img src="/files/5qmjUbtvDQPJTNIS6yzD" alt=""><figcaption></figcaption></figure>

3. When the import is done, select content butoon will appear.

<figure><img src="/files/E552HzOKnkw9tGzfGxhm" alt=""><figcaption></figcaption></figure>

4. Select desired quizzes or all of them, and click "select content".&#x20;

<figure><img src="/files/eclQQye6XAk37b7yTkUT" alt=""><figcaption></figcaption></figure>

6. The quiz will be imported and is ready to be edited ou used.
