แบบทดสอบก่อนเรียน การเขียนโปรแกรม

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 Wayground
10 questions
การอ่านออกเสียงประเภทร้อยกรองและบทร้อยกรองประเภทเสภา

Quiz
•
9th - 12th Grade
15 questions
สามัคคีเภทคำฉันท์

Quiz
•
12th Grade
10 questions
ทบทวนความรู้ คำไทยแท้และคำยืมภาษาอังกฤษ

Quiz
•
12th Grade
10 questions
ทดสอบหลังเรียน เรื่อง ฉากและระดับน้ำ วิชาวัดละเอียด

Quiz
•
12th Grade
20 questions
แบบทดสอบหลังเรียน บทที่ 1-2 วิชาการงานอาชีพ 5 ม.3

Quiz
•
12th Grade
10 questions
การอ่านจับใจความสำคัญเรื่องสั้น

Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบก่อนเรียนวิชาพืชสมุนไพร

Quiz
•
9th - 12th Grade
15 questions
สมาส สนธิ

Quiz
•
3rd - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade