ปลายภาค ภาษาซี ครูแวววรรณ

Quiz
•
Education
•
9th Grade
•
Hard
Kru Sine
Used 48+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำว่าอะไรที่ทุกโปรแกรมในภาษาซีจะต้องมี
int
main
printf
var
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
คำสั่งต่าง ๆ ของโปรแกรมภาษาซีจะต้องอยู่ภายในเครื่องหมายใด
( )
{ }
[ ]
/* */
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง
printf("THAILND");
printf("12345");
printf("5 + 2 = %d",5+2);
printf('COMPUTER');
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น scanf() ได้ถูกต้อง
scanf("%d\n",x)
scanf("%d",&x);
scanf("%d",x);
scanf("%d,x");
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ถ้าหาก x มีค่าเท่ากับ 23.1234 และมีการทำคำสั่งต่อไปนี้ printf("%1.2f",x);
ผลลัพธ์ที่ได้จะเท่ากับข้อใด
2.31234
23.1234
23.12
2.31
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
ข้อใดใช้ฟังก์ชั่น printf() ในการแสดงผลบวกของตัวแปร x กับตัวแปร y ได้ถูกต้อง
printf("%d + %d = %d", x, y, x+y);
printf("x + y = %d", x+y);
printf("x + y = x+y\n", x, y, x+y);
printf("x + y = ", x+y);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดที่ไม่จำเป็นต้องมีก็ได้ในการเขียนโปรแกรม
#define
#include
{ }
main( )
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
ปลายภาคความปลอดภัยในงานโรงแรม

Quiz
•
9th - 12th Grade
40 questions
สอบกลางภาคขาเข้า-ขาออก

Quiz
•
2nd Grade - University
35 questions
game1

Quiz
•
4th Grade - University
35 questions
HSK 4 A-B

Quiz
•
8th Grade - University
35 questions
VM Trainning

Quiz
•
1st Grade - Professio...
40 questions
ประโยคเพื่อการสื่อสาร ป.3

Quiz
•
3rd Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade