
ความรู้เบื้องต้นการเขียนโปรแกรมภาษาซี
Authored by เอราวัณ ดําภูผา
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือคำสั่งในการแสดงผลทางหน้าจอ
int
float
printf
scanf
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดเขียนฟังก์ชันก์ printf ได้ถูกต้อง
printf(Hello world)
printf("Hello world")
printf("Hello world");
printf=("Hello world");
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ฟังก์ชั่นใดเป็นคำสั่งในการขึ้นบรรทัดใหม่
\n
\t
\r
\u
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ต้องการเขียนโปรแกรมแสดงเลข 10 ข้อใดประกาศตัวแปรได้ถูกต้อง
int 10;
int a=10;
float 10;
float a=10;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าต้องการแสดง 5 กับ 10.5 ทางหน้าจอ ควรประกาศตัวแปรอย่างไร
int 5,10.5;
int 5;
float 10.5;
int a=5;
float b=10.5;
float 5,10.5;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดคือคำสั่งในการรับข้อมูลทางแป้นพิมพ์
scanf
printf
int
float
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
จากโค้ดต้องการป้อนคะแนนทางแป้นพิมพ์ข้อใดใช้ฟังก์ชัน scanf ได้ถูกต้อง
int score;
scanf_____________
scanf(%f,score);
scanf("%d",score);
scanf("%f",&score);
scanf("%d",&score);
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?