ข้อใดคือเครื่องหมายลงท้ายคำสั่งต่างๆ ในภาษาซี
แบบทดสอบก่อนเรียน การเขียนโปรแกรม

Quiz
•
Education
•
12th Grade
•
Hard
ครูกนกวรรณ สุวรรณกูฏ
Used 16+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
; (semi-colon)
: (colon)
# (directive)
, (comma)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
การใช้คำสั่ง printf() ข้อใดไม่ถูกต้อง
printf("THAILND");
printf("5 + 2 = %d",5+2);
printf('%f',x);
printf("12345");
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดใช้คำสั่ง scanf() ได้ถูกต้อง
scanf(%d,&x);
scanf("%d",&x);
scanf(‘%d’,&x);
scanf("%d,&x");
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าหาก x มีค่าเท่ากับ 2.31234 และมีการทำคำสั่งต่อไปนี้ printf("%.4f",x); ผลลัพธ์ที่ได้จะเท่ากับข้อใด
23.1234
2.3123
23.12
2.31
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดคือคำตอบที่ถูกต้องที่สุด จาก Code ที่ว่างไว้ printf(“Price =........ , num =........”,18, 3.48);
%d %c
%.2f %d
%d %2.f
%.2f %c
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดคือคำตอบที่ถูกต้องที่สุด จาก Code ที่ว่างไว้ printf(“Point =........ , Grade =........”,50.4, ‘F’);
%d %c
%.2f %d
%d %2.f
%f %c
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดประกาศตัวแปรถูกต้อง
float a = 5.144;
float b = 3;
int i = ‘6’;
int j = 100:
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
แบบวัดความรู้และความเข้าใจ เรื่อง นิทานพื้นบ้าน

Quiz
•
7th - 12th Grade
20 questions
สะกดคำผิด ชีวิตเปลี่ยน

Quiz
•
6th - 12th Grade
10 questions
มาตรา ก กา รู้ว่าไม่มีตัวสะกด

Quiz
•
1st - 12th Grade
15 questions
คำศัพท์ HSK

Quiz
•
12th Grade
10 questions
สำนวน สุภาษิต คำพังเพย

Quiz
•
6th Grade - Professio...
20 questions
ภาษาไทยเพื่ออาชีพ

Quiz
•
10th - 12th Grade
10 questions
ม.1_ทักษะเพื่อการทำงาน

Quiz
•
12th Grade
10 questions
คำที่มักเขียนผิด โดย ครูวาสนา

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade