
แบบทดสอบการเขียนโปรแกรมด้วยภาษาซี
Authored by KruWiyada Kongkaew
Computers
Vocational training
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อมูลชนิดใดในภาษาซีที่ใช้เก็บชุดตัวอักขระตั้งแต่ 2 ตัวขึ้นไป?
ข้อมูลชนิดตัวอักษร
ข้อมูลชนิดเลขทศนิยม
ข้อมูลชนิดข้อความ
ข้อมูลชนิดจํานวนเต็ม
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรในภาษาซีคืออะไร?
การสร้างโปรแกรมใหม่
การประกาศฟังก์ชัน
การคำนวณค่าตัวเลข
การจองพื้นที่ในหน่วยความจําสำหรับเก็บข้อมูล
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การประกาศตัวแปรในภาษา C ต้องเขียนในรูปแบบใด?
type name;
name type;
variable type;
data type name;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นหลักการตั้งชื่อตัวแปรในภาษา C?
ต้องมีช่องว่างในชื่อ
สามารถใช้ตัวเลขที่ขึ้นต้นได้
ต้องขึ้นต้นด้วยตัวอักษร A-Z, a-z หรือ _
สามารถใช้สัญลักษณ์พิเศษได้
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การประกาศตัวแปรหลายตัวพร้อมกันในภาษา C ใช้รูปแบบใด?
Variable Name, Variable Name Data Type;
Data Type Variable Name;
Data Type Variable Name, Variable Name;
Variable Name Data Type;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดไม่ใช่คําสงวนในภาษาซี?
break
float
variable
int
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การประกาศตัวแปรที่ถูกต้องตามหลักการคือข้อใด?
valid variable
_validVariable
variable-name
1stVariable
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?