> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmumoodle-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/cmumoodle-manual/quiz/creating-quiz/question-type/all-or-nothing-multiple-choice.md).

# All-or-Nothing Multiple Choice

All-or-nothing Multiple Choice (ตัวเลือกตอบหลายตัวเลือกแบบ 100% หรือ 0%) เป็นข้อสอบที่มีลักษณะคล้ายกับ Multiple Choice แต่มีจุดเด่นดังนี้

* น.ศ.สามารถเลือกตัวเลือก 1 ข้อหรือมากกว่าได้&#x20;
* ถ้าเลือกตอบถูกทั้งหมดจะได้คะแนน(100%)
* ถ้าตอบตัวเลือกที่ผิดหรือเลือกคำตอบที่ถูกต้องไม่ครบหรือเลือกตอบทุกตัวเลือก จะไม่ได้คะแนนเลย(0%)

![ตัวอย่างการสร้างโจทย์ All-or-Nothing Multiple Choice](/files/afwPrF4jtiC20VWbIjEG)

### การตั้งค่า Default Mark

![](/files/abaMunpGXNww798vALvW)

* Shuffle the choices? ตั้งค่าให้สุ่มการเรียงลำดับของตัวเลือก&#x20;
* Number the choices? ตั้งค่ารูปแบบการเรียงลำดับตัวเลือก
* Show standard instructions ตั้งค่าเปิด/ปิดคำแนะนำในการคำข้อสอบประเภทนี้ นั่นคือ "เลือกคำตอบที่ถูกต้อง 1 ข้อหรือมากกว่า"

### การตั้งค่า Answer

สามารถเพิ่มคำตอบในตัวเลือกลงไปในช่อง Choice 1 , 2 , 3 , 4 ,.... ได้เลย โดยข้อที่ถูกต้องให้กดเปิดที่ส่วนของ Correct ไว้ด้วย

![](/files/NETUztUWRSeMHbvGwJ4V)

### ตัวอย่างโจทย์ประเภท All-or-Nothing Multiple Choice

![ตัวอย่างโจทย์ที่น.ศ.จะเห็น](/files/TEpzWF5sVfAeyyLLHu1m)

![น.ศ.ต้องเลือกตอบครบทุกข้อเท่านั้น จึงจะได้คะแนนในคำถามข้อนี้](/files/kBP5sCsEgjaT5G2woJz3)

![เลือกคำตอบที่ถูก แต่ไม่ครบ จะไม่ได้คะแนน](/files/3TIHvLrnOXMBSOVh1fWb)

![เลือกคำตอบที่มีทั้งถูกและผิด จะไม่ได้คะแนน](/files/Xep9YzzccM3tqKFp03qD)

![ถ้าเลือกตอบทุกตัวเลือกจะไม่ได้คะแนน](/files/Toec4zWfsBvnsOZQw1Sj)


---

# 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://docs.tlic.cmu.ac.th/cmumoodle-manual/quiz/creating-quiz/question-type/all-or-nothing-multiple-choice.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.
