# 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="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/fUMJKjV8zc9uCbp70LfR/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/VdvFfNwv2hXLv1u4lqKk/image.png" 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="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/oCfvqiQIf0fOwDCXMwyk/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/yVhPidDWxKjP1YMD1ILK/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/Kjb1EMSgh6ZzVUmZWQ90/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/ivlPZl0Bk3jgcOqQIfvM/image.png" 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="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/wsOxG6mTDZCjpnuowGMz/image.png" 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="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/SVwBggR0THWhXSPgxBCi/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/CYCHfVZrcH09PN09KszL/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/XHLtFtw2BeIo9EXwQ4kE/blobs/K2G9nrBZGHGtCroVDTZe/image.png" alt=""><figcaption></figcaption></figure>

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