> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmucanvas-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/cmucanvas-manual/quiz-assign/new-quizzes/numeric.md).

# Numeric

ข้อคำถามแบบสูตรคำนวน ผู้เรียนสามารถส่งคำตอบได้ทั้งตัวเลข ตัวอักษร และสัญลักษณ์ ทั้งนี้ระบบจะสามารถตรวจให้คะแนนอัตโนมัติได้เฉพาะคำตอบที่เป็นตัวเลขเท่านั้น

## เพิ่มคำถาม

<figure><img src="/files/RB1FVPQTGGrMwdqpH2Vz" alt=""><figcaption></figcaption></figure>

\[1] หัวข้อ ส่วนนี้ผู้เรียนจะไม่เห็น

\[2] ข้อคำถาม

## เพิ่ม Requirement

<figure><img src="/files/8zuIWibsmKvNxH9qfCfH" alt=""><figcaption></figcaption></figure>

คำตอบที่ต้องการในข้อคำถามข้อนี้ สามารถเลือกได้ที่ \[1] โดยสามารถเลือกได้จาก Exact Response, Margin of Error, Within a Range, หรือ Precise Response และใส่คำตอบที่เป็นไปได้ที่ \[2]

#### Exact Response <a href="#exact-response-requirement" id="exact-response-requirement"></a>

<figure><img src="/files/xc6Be6Tv44YwhHqZyR7y" alt=""><figcaption></figcaption></figure>

เลือก Exact Response ที่ \[1] ใส่คำตอบที่ \[2] หรือใช้ลูกศรเพิ่มจำนวนที่ \[3] ทั้งนี้ Exact Response รองรับคำตอบที่เป็นสัญกรณ์วิทยาศาสตร์ (scientific notation) ด้วย ยกเว้น format: 1.234\*10^5

โดยผู้เรียนจำเป็นต้องตอบให้ตรงกับคำตอบที่อยู่ในระบบเท่านั้นจึงจะได้คะแนน

**ช่องกรอกข้อมูลรองรับเฉพาะตัวเลข จุด เครื่องหมายจุลภาค ดอกจัน และเครื่องหมายคาเร็ตเท่านั้น**

#### Margin of Error <a href="#margin-of-error-requirement" id="margin-of-error-requirement"></a>

<figure><img src="/files/cInnLr53EOfXL48L2lya" alt=""><figcaption></figcaption></figure>

เลือก Margin of Error ที่ \[1] ใส่คำตอบที่ \[2] หรือใช้ลูกศรเพิ่มจำนวนที่ \[3] เพิ่มขอบเขตที่ \[4] และเลือกประเภทของขอบเขตได้ที่ Type ซึ่งจะมีเป็นเมนู Dropdown ซึ่ง Requirement ประเภทนี้ไม่รองรับข้อมูลที่เป็นสัญกรณ์วิทยาศาสตร์ (scientific notation)ใดๆ

**ช่องกรอกข้อมูลรองรับเฉพาะตัวเลข จุด และเครื่องหมายจุลภาคเท่านั้น**

#### Within a Range

<figure><img src="/files/xFFMDbWrgyHIqSYcjwQ5" alt=""><figcaption></figcaption></figure>

เลือก Within a Range ที่ \[1] ใส่ช่วงเริ่มต้นที่ \[2] และช่วงสิ้นสุดที่ \[3] ทั้งนี้ Within a Range รองรับคำตอบที่เป็นสัญกรณ์วิทยาศาสตร์ (scientific notation) ด้วย ยกเว้น format: 1.234\*10^5

**ช่องกรอกข้อมูลรองรับเฉพาะตัวเลข จุด เครื่องหมายจุลภาค ดอกจัน และเครื่องหมายคาเร็ตเท่านั้น**

#### Precise Response <a href="#precise-response-requirement" id="precise-response-requirement"></a>

<figure><img src="/files/h8kiBA2ELWLZ8OOtGSCs" alt=""><figcaption></figcaption></figure>

เลือก Precise Response ที่ \[1] ใส่คำตอบที่ \[2] ค่าความแม่นยำที่ \[3] และประเภทของความแม่นยำที่ \[4] โดยมีตัวเลือกคือเลขนัยสำคัญและทศนิยม(significant digits และ decimal places) ทั้งนี้ Precise Response ไม่รองรับคำตอบที่เป็นสัญกรณ์วิทยาศาสตร์ (scientific notation)

ผู้เรียนจะได้คะแนนเมื่อตอบตรงกับจำนวนเลขนัยสำคัญหนือทศนิยมที่ผู้สอนกำหนดไว้

**ช่องกรอกข้อมูลรองรับเฉพาะตัวเลข จุด เครื่องหมายจุลภาคเท่านั้น และค่า Precision ต้องเป็นจำนวนเต็มที่มากกว่า 1**

## คลิปสาธิตการสร้างคำถามประเภท Numeric

{% embed url="<https://youtu.be/pMwPaY8hZjg>" %}


---

# 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/cmucanvas-manual/quiz-assign/new-quizzes/numeric.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.
