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

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
10 questions
แบบทดสอบก่อนเรียน เรื่อง พระอภัยมณี ม.3

Quiz
•
12th Grade
20 questions
เครื่องหมายวรรคตอน

Quiz
•
7th Grade - University
15 questions
ลุล่วง

Quiz
•
7th - 12th Grade
10 questions
การสะกดคำ ม.4

Quiz
•
9th - 12th Grade
17 questions
ธรรมชาติของภาษา

Quiz
•
12th Grade
10 questions
ศาสนพิธี(การจัดโต๊ะหมู่บูชา)

Quiz
•
1st Grade - Professio...
14 questions
การสร้างคำในภาษาไทย

Quiz
•
12th Grade
10 questions
คำครุ-ลหุ

Quiz
•
12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Education
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade