แบบทดสอบภาษาซี

Quiz
•
Computers
•
Professional Development
•
Hard
คุณัญญา ภิรมย์กล่ำ
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ประโยคคำสั่งต่าง ๆ ในภาษาซี ต้องปิดท้ายแต่ละคำสั่งด้วยเครื่องหมายใด
เครื่องหมาย .
เครื่องหมาย ,
เครื่องหมาย ;
เครื่องหมาย :
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดต่อไปนี้ คือคำตอบของค่า y จากนิพจน์ที่กำหนดให้
int x, y;
x = 8;
y = ++x;
printf(“%d”,y);
7
8
9
10
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าหากต้องการให้ฟังก์ชั่น printf() แสดงผลเป็นตัวทศนิยมจะต้องใช้รหัสควบคุมตัวใด
%c
%f
%x
%d
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าหากต้องการให้ฟังก์ชั่น printf() แสดงผลเป็นตัวเลขจำนวนเต็มจะต้องใช้รหัสควบคุมตัวใด
%d
#include
%f
%x
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้านักเรียนต้องการเพิ่มค่าตัวแปรทีละ 1 ค่าควรใช้คำสั่งในข้อใด
i--
i++
-+i
+-i
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ข้อใดต่อไปนี้ คือ จำนวนรอบของการทำงานจากชุดคำสั่งที่กำหนดให้
int x=5;
while(x > 5)
printf(“%d”,x);
5 รอบ
10 รอบ
0 รอบ
ไม่มีข้อใดถูก
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
การใช้ฟังก์ชั่น printf() ข้อใดไม่ถูกต้อง
printf("THAILAND");
printf("12345");
printf("5+2=%d",5+2);
printf('COMPUTER');
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
สอบกลางภาคหลักการเขียนโปรแกรม

Quiz
•
Professional Development
20 questions
TypeScript and Popular Framework

Quiz
•
Professional Development
20 questions
Microsoft Excel

Quiz
•
Professional Development
20 questions
Array 2

Quiz
•
Professional Development
20 questions
แบบทดสอบการใช้โปรแกรม Google docs

Quiz
•
Professional Development
20 questions
การสร้างวีดิทัศน์ ปวช.3

Quiz
•
Professional Development
20 questions
สอบกลางภาค วิชา การพัฒนาโปรแกรมบนคอมพิวเตอร์พกพา

Quiz
•
Professional Development
20 questions
การบริหารจัดการความต้องการทางธุรกิจ

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade