

แบบฝึกหัดทบทวนบทเรียน
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
9 questions
เทคนิคในการสร้างสรรค์ผลงานภาพพิมพ์
Presentation
•
12th Grade
10 questions
แบบทดสอบเวลาแบบจันทรคติเเละสุริยคติ
Presentation
•
KG
7 questions
หลักการเขียนโปรแกรม1_ุ64 สัปดาห์ที่ 4
Presentation
•
11th Grade
14 questions
ภาพรวมทีมสาวบาวแดง
Presentation
•
KG
11 questions
Untitled Lesson
Presentation
•
12th Grade
7 questions
สมการความต่อเนื่อง
Presentation
•
12th Grade
7 questions
การเล่นทีมกีฬาวอลเลย์บอล
Presentation
•
12th Grade
10 questions
แบบทดสอบ การซ่อมเครื่องใช้ไฟฟ้า
Presentation
•
KG - University
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade