

แบบฝึกหัดทบทวนบทเรียน
Presentation
•
Computers
•
12th Grade
•
Hard
ครูกนกวรรณ สุวรรณกูฏ
Used 3+ times
FREE Resource
1 Slide • 12 Questions
1
แบบฝึกหัดทบทวนบทเรียน โครงสร้างภาษาซี
เขียนโปรแกรมคอมพิวเตอร์เบื้องต้น

2
Multiple Choice
ข้อใดไม่ใช่หลักการตั้งชื่อตัวแปรที่ถูกต้อง
ต้องประกอบด้วยตัวอักษร ตัวเลข หรือ เครื่องหมาย Underscore (_)
ชื่อตัวแปรต้องประกอบไปด้วยอักขระพิเศษ และสามารถเว้นวรรคในชื่อได้
ชื่อตัวแปรสามารถขึ้นต้นด้วย Underscore (_)
ไม่ใช้คำสงวนในภาษา C
3
Multiple Choice
ข้อใดต่อไปนี้คือ โครงสร้างของโปรแกรมภาษา c
#include<stdio.h>
void main( )
{ ชุดคำสั่ง }
#index void main ( )
{ ชุดคำสั่ง }
<html><body>ชุดคำสั่ง</body></html>
<? echoชุดคำสั่ง ? >
4
Multiple Choice
ข้อใดเป็นคำสั่งการแสดงผลข้อความทางหน้าจอ
scanf
include
printf
float
5
Multiple Choice
ข้อใดเป็นการเก็บข้อมูลเพื่อใช้ในการแสดงผลของ
ตัวเลขจำนวนเต็ม
%c
%d
%b
%f
6
Multiple Choice
ข้อใดเป็นการเก็บข้อมูลเพื่อใช้ในการแสดงผลของ
ตัวเลขทศนิยม
%c
%d
%b
%f
7
Multiple Choice
ข้อใดเป็นคำสั่งการขึ้นบรรทัดใหม่ของโปรแกรม
ภาษา c
/n
\n
/t
\t
8
Multiple Choice
ข้อใดประกาศตัวแปรถูกต้อง
float a = 3.144;
int i = (5);
float b = '3.57'
int j = 150, k = 100.
9
Multiple Choice
ข้อใดประกาศตัวแปรถูกต้อง
float a = '10';
int i = 5.5,
char b = a;
int j = 150, k = 100;
10
Multiple Choice
ข้อใดเป็นการประกาศตัวแปรของข้อมูลอักษรที่ถูกต้อง
float i = ‘A’;
int i = “A”,
char i = ‘A’;
scanf i = A;
11
Multiple Choice
#include<stdio.h>
void main( )
{
printf (“Gangnam style”);
}
จาก code ดังกล่าวเมื่อ run โปรแกรมจะแสดงผลลัพธ์อย่างไร
(“Gangnam style”);
(“Gangnam style”)
“Gangnam style”
Gangnam style
12
Multiple Choice
เมื่อสิ้นสุดประโยคคำสั่งแต่ละบรรทัดต้องมีเครื่องหมายใด
;
:
,
" "
13
Multiple Choice
คำสั่ง printf("%.3f",3.5564); จะแสดงผลทางหน้าจอตามข้อใด
3.55
3.556
3.56
3.557
แบบฝึกหัดทบทวนบทเรียน โครงสร้างภาษาซี
เขียนโปรแกรมคอมพิวเตอร์เบื้องต้น

Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
12 questions
LMS
Presentation
•
University
14 questions
การวิเคราะห์และออกแบบระบบajaun
Presentation
•
12th Grade
6 questions
บทที่ 1 e-Learning
Presentation
•
University
10 questions
การให้เหตุผล
Presentation
•
University
10 questions
OIC QC
Presentation
•
University
12 questions
【你在哪儿工作?】 Where do you work?
Presentation
•
11th Grade
10 questions
คำถามช่วงที่ 3
Presentation
•
University
12 questions
สอบเก็บคะแนนบทที่ 2 เรื่องดาวฤกษ์
Presentation
•
12th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade