> For the complete documentation index, see [llms.txt](https://ltic.gitbook.io/kku-i-learning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ltic.gitbook.io/kku-i-learning/quiz/question.md).

# การสร้างคำถาม (Question)

## 1. กดปุ่ม Add question เพื่อสร้างคำถามใหม่ลงในแบบทดสอบ (Quiz)

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2F7wi37OCibm1lTVM5PQEu%2Fimage.png?alt=media&amp;token=d5e5b1e0-ca2d-4ef6-b88f-12974b6cf3b7" alt=""><figcaption></figcaption></figure>

## 2. คลิกปุ่ม Add และ เลือก a new question เพื่อสร้างคำถามใหม่

* Maximum grade -> กำหนดคะแนนรวม
* Shuffle -> เปิด-ปิดการใช้งานสลับคำถาม

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FzIARlvLguOBWBppZlqj3%2Fimage.png?alt=media&amp;token=92f50297-b5dc-4eec-895b-7fb0e3346a39" alt=""><figcaption></figcaption></figure>

## 3. เลือกรูปแบบคำถามที่ต้องการสร้าง จากนั้นคลิกปุ่ม Add

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2Fyl9dw2whSLUQpl38sXTr%2Fimage.png?alt=media&amp;token=8cb66f03-697e-429c-8f4b-3f15fe519f13" alt=""><figcaption></figcaption></figure>

## **ตัวอย่าง การสร้างคำถามรูปแบบ Multiple choice (คำถามปรนัย)**

## 4. เมื่อเลือกรูปแบบคำถาม Multiple choice จะแสดงหน้า Adding a Multiple choice question

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FgwgUHhu2oMs5eCJtAU9v%2Fimage.png?alt=media&amp;token=c1f7ea9d-87bb-4550-9b51-8cd3e7d445df" alt=""><figcaption></figcaption></figure>

### 4.1 General

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2Fk6PNNMay0HaAPPbTKMwr%2Fimage.png?alt=media&amp;token=b386bdf8-1734-4ba0-8766-6ad0dc11bbe7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2F7jxzDliRc8sgKfz9nrnb%2Fimage.png?alt=media&amp;token=b16a720e-0d20-43ed-bb83-6ff457bfe209" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FNkJh9FZlPnTk0LkB6dwg%2Fimage.png?alt=media&amp;token=e3f2f2ab-9760-4a48-a53e-6587cfab09f5" alt=""><figcaption></figcaption></figure>

* Category -> หมวดหมู่ที่ต้องการจัดเก็บคำถาม
* Question name -> ชื่อคำถาม
* ส่วนที่แสดงให้อาจารย์เห็นเท่านั้น เป็นเหมือน Keyword หรือ กรอกเหมือนกับ Question text ก็ได้
* Question text -> โจทย์ / รายละเอียดคำถาม
* ส่วนที่แสดงให้นักศึกษาเห็น
* ส่วนที่สามารถเพิ่มภาพ วิดีโอ เสียงบันทึก หรือปรับแต่งความสวยงามต่างๆ ได้
* Default mark -> คะแนนสำหรับข้อนี้
* General feedback -> คำแนะนำทั่วไป (ไม่บังคับกรอก)
* ID number -> ลำดับของคำถาม (ไม่บังคับกรอก)
* One or multiple answers? -> เลือกว่าให้ข้อนี้มีคำตอบเดียวหรือหลายคำตอบ
* Shuffle the choices? -> เปิด-ปิดการสลับตัวเลือก
* Number the choices? -> รูปแบบของตัวเลือก
* Show standard instructions -> เปิด-ปิดแสดงคำแนะนำ
* Category -> หมวดหมู่ที่ต้องการจัดเก็บคำถาม
* Question name -> ชื่อคำถาม
* ส่วนที่แสดงให้อาจารย์เห็นเท่านั้น เป็นเหมือน Keyword หรือ กรอกเหมือนกับ Question text ก็ได้
* Question text -> โจทย์ / รายละเอียดคำถาม
* ส่วนที่แสดงให้นักศึกษาเห็น
* ส่วนที่สามารถเพิ่มภาพ วิดีโอ เสียงบันทึก หรือปรับแต่งความสวยงามต่างๆ ได้
* Default mark -> คะแนนสำหรับข้อนี้
* General feedback -> คำแนะนำทั่วไป (ไม่บังคับกรอก)
* ID number -> ลำดับของคำถาม (ไม่บังคับกรอก)
* One or multiple answers? -> เลือกว่าให้ข้อนี้มีคำตอบเดียวหรือหลายคำตอบ
* Shuffle the choices? -> เปิด-ปิดการสลับตัวเลือก
* Number the choices? -> รูปแบบของตัวเลือก
* Show standard instructions -> เปิด-ปิดแสดงคำแนะนำ

### 4.2 Answers

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FfW20LpaAQjmUsLyG2DwD%2Fimage.png?alt=media&amp;token=95211c41-6c04-4a7e-bc4b-53dd4eae60c4" alt=""><figcaption></figcaption></figure>

* Choice -> ระบุคำตอบ
* Grade -> กำหนดคะแนน โดยข้อที่ถูกต้อง ให้ตั้งค่าเป็น "100%" ส่วนข้อที่ผิด ให้ตั้งค่าเป็น "None"

{% hint style="info" %}
**หมายเหตุ** หากต้องการเพิ่ม Choice -> คลิกปุ่ม Blanks for 3 more choices
{% endhint %}

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FOYZyOz96egP6P1dgHUeA%2Fimage.png?alt=media&amp;token=4008dbe6-9da0-429b-8593-9c00d9dc43cc" alt=""><figcaption></figcaption></figure>

## 5. บันทึกคำถาม โดยการกดปุ่ม Save changes

<figure><img src="https://3737697512-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY9agdnflXBCpFRPWsFWS%2Fuploads%2FMCc7BUVuOnp32qUlVj2s%2Fimage.png?alt=media&amp;token=0cf0b25f-a9de-4679-9acd-7c09d172d8a2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ltic.gitbook.io/kku-i-learning/quiz/question.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
