
แบบทดสอบที่ไม่มีชื่อ
Authored by noi pc
Computers
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
คำสั่ง printf เป็นคำสั่งที่ใช้สำหรับการพิมพ์ข้อมูลทางจอภาพ
ต้องการพิมพ์เครื่องหมาย double quote จะต้องใช้ตัวเลือกใด
"
printf(" " ");
printf(" "" ");
printf("\" ");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf("%-6d:\n",number);
ต้องการพิมพ์ค่าของตัวแปร number ในรูปแบบใด
-6_ _ _ _
_ _ _ _ _6
6_ _ _ _ _
_ _ _ _-6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf("%6.2f\n" , 2.5);
ข้อใดคือผลลัพธ์
_ _ 2 . 5 0
_ _ _ 2 . 5 0
2 . 5 0 _ _
2 . 5 0 _ _ _
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ถ้าต้องการพิมพ์ Hello world ข้อใดถูกต้อง
print('Hello world\n');
printf("Hello world/n);
printf("Hello world/n");
printf("Hello world\n");
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดไม่ถูกต้อง
int x;
scanf("%d",&x);
float f;
scanf("%f",&f);
char c;
scanf("%c",c);
int x,y;
scanf("%d %d",&x, &y);
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?