# การนำเข้าข้อสอบจากระบบ moodle

## วิธีที่ 1 Aiken >> QTI(เหมาะสำหรับผู้ที่มีไฟล์ Aiken Format)

เบื้องต้นตอนนี้ระบบของ Mango ยังไม่รองรับการนำเข้า Aiken Format /  Word โดยตรง จึงยังคงต้องใช้เครื่องมือจากภายนอกในการนำเข้าข้อสอบ&#x20;

วิธีการนำเข้าข้อสอบในระบบ exam cmu ไป Mango มีดังนี้

1.ไปที่ Quiz บนระบบ moodle(kc/exam) เลือกฟันเฟืองด้านขวามือ Question Bank >> Export

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2Fe01WNPQfQtiEZdHSMpYc%2Fimage.png?alt=media&#x26;token=37286811-11a8-4fc2-9eea-f4736bf856f5" alt=""><figcaption></figcaption></figure>

export Question Bank จากคอร์สใน Exam cmu เป็นไฟล์ .txt (Aiken format)

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FXBO5cS0HrKkiabUNaPsS%2Fimage.png?alt=media&#x26;token=ba0f7cf5-419e-4dac-8377-9656bcd71995" alt=""><figcaption></figcaption></figure>

\
2.ใช้เครื่องมือภายนอก แปลงจากไฟล์ Aiken Format >> .QTI ซึ่งเป็นไฟล์ที่ Mango รองรับ\
<http://ec2-34-207-154-191.compute-1.amazonaws.com/>\
**รูปแบบ Quiz ที่รองรับคือ 1. Multiple Choice, 2. True/False, 3. Multiple Answers โดยตัวอย่าง format อยู่ใน Link เครื่องมือข้างต้น**

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FQoBZuuQbTzqbDSDRBgMA%2Fimage.png?alt=media&#x26;token=eccca34f-027d-4cef-ab9c-dc7538bdeab9" alt=""><figcaption></figcaption></figure>

3.เมื่อแปลงไฟล์สำเร็จจะได้รับไฟล์ .QTI มา

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FA0PgdJmpKzU5N0wCxxWi%2Fimage.png?alt=media&#x26;token=ebb71e3d-ec31-4e22-8bb6-361ce411aa82" alt=""><figcaption></figcaption></figure>

4.นำไฟล์ .QTI ที่ได้ import content เข้าสู่คอร์ส Mango

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2F3yceE1ZokwtyfFjDJfZh%2Fimage.png?alt=media&#x26;token=cc06d096-0cc3-4c40-b212-b25d63ed642c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FPJfJJbS9BzRNfNuboHWm%2Fimage.png?alt=media&#x26;token=24b8e1d6-385f-4f81-b9cd-74ca764fb4ea" alt=""><figcaption></figcaption></figure>

5.เมื่อนำเข้าเสร็จสิ้น Quiz ใหม่จะปรากฏขึ้น ให้สามารถเข้าไปแก้ไขหรือนำไปใช้ต่อบนระบบ Mango ได้ทันที

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FS4oSxiuyHcfltuHtUN9g%2Fimage.png?alt=media&#x26;token=502aa1b8-fc79-4d08-b97d-30cfbc6cc20f" alt=""><figcaption></figcaption></figure>

## วิธีที่ 2 Backup >> Specific Content

1.Backup เนื้อหาจากคอร์ส moodle

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

2.ในขั้นตอนการนำเข้าเลือกเป็น Select specific content แล้วกด Import

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FYaEbW6XsIoWHOKtXJ1KV%2Fimage.png?alt=media&#x26;token=a5002cd7-027a-4770-b993-fbee980cfca4" alt=""><figcaption></figcaption></figure>

3.เมื่อ import เรียบร้อย จะมีปุ่มให้เลือกเนื้อหาด้านในขึ้นมา

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FrODWuTkkUXOZvMC0tEgt%2Fimage.png?alt=media&#x26;token=75eb338e-8429-402f-95d7-87431c0965e1" alt=""><figcaption></figcaption></figure>

4.เลือก Quiz ที่ต้องการทีละ Quiz หรือทั้งหมดได้ทันที จากนั้นกด Select Content

<figure><img src="https://3470142670-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSgE1vEnY4YfAcopihK%2Fuploads%2FGGQnDAHCp2Lre6LHP9Gx%2Fimage.png?alt=media&#x26;token=bc2047ac-da1a-4ce7-b199-c7da6f91e8e8" alt=""><figcaption></figcaption></figure>

6.เมื่อนำเข้าเสร็จสิ้น Quiz ใหม่จะปรากฏขึ้น ให้สามารถเข้าไปแก้ไขหรือนำไปใช้ต่อบนระบบ Mango ได้ทันที


---

# 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://docs.tlic.cmu.ac.th/cmucanvas-manual/quiz-assign/moodle.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.
