# การสุ่มเลือกคำถามจากคลังคำถาม(Random Question from Question Bank)

ท่านสามารถสุ่มเลือกคำถามจากคลังคำถามของท่านได้ โดยวิธีการดังนี้&#x20;

### 1.ไปที่หน้า Quiz ของท่าน จากนั้นเลือกเมนู Edit Quiz ดังภาพ

![](/files/-MjcdcoZH9Zsnq5CcrEm)

### 2.ไปยังปุ่ม Add แล้วเลือกเมนู **"a random question"**

![](/files/-MjccnIiWUliKJGLTN2c)

### 3. เลือกคำถามจาก Category เข้ามายังแบบทดสอบ

![](/files/-MjcntF2fQZHCCBYFHEv)

**Category** : เลือก category ที่ท่านต้องการ

**Number of random questions** : จำนวนข้อที่ต้องการสุ่มจาก **Category ที่เลือก**

###

### **ตัวอย่างการสุ่มข้อคำถามจากระบบ KC Moodle**

*เพิ่มคำถามจาก Category ชื่อว่า “**เนื้อหาตอนที่ 2**” จำนวนทั้งหมด **47** ข้อ สุ่มมาจำนวน **5 -ข้อคำถาม***&#x20;

![](https://tlic.cmu.ac.th/wp-content/uploads/2020/04/1588045244398.jpg)

เมื่อกดปุ่ม **Add a random question** จะได้คำถามที่มีสัญลักษณ์ลูกเต๋าดังภาพเป็นอันเสร็จสิ้น

![](/files/-MjcnYitlaBOrcWdWhBK)


---

# 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/cmumoodle-manual/quiz/question-bank/random-question-from-question-bank.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.
