แบบทดสอบหลังเรียน หน่วยที่ 2 ภาษาซีเบื้องต้น (ครูฟลุ๊ค)

Quiz
•
Computers
•
9th Grade
•
Hard
Chatchawanon Songkram
Used 19+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวดำเนินการใดไม่ใช่ตัวดำเนินการทางตรรก
>
=
>=
!=
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การเลือกทำแบบทางเดียวควรใช้คำสั่งใด
if ไม่มี else
if แบบมี else
if..else และ switch
switch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การเขียนประโยคใดต่อไปนี้ไม่สามารถใช้กำหนดเงื่อนไขให้กับ if ได้
m = 4.5;
x == 8;
'A' > 'B'
C > D;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ประโยคในข้อใด เป็นการตรวจสอบว่าตัวแปร x อยู่ในช่วงตั้งแต่ 20 ถึง 30
if((x >= 20) && (x <= 30))
if((x >= 20)||(x <= 30))
if(20 < x <30)
if((x <= 10)&&(x >= 20))
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ค่าในข้อใดไม่สามารถใช้เป็นค่าหลัง case ในคำสั่ง switch..case ได้
7
4.5
'7'
'A'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าหากในคำสั่ง switch..case ไม่มี break; เมื่อโปรแกรมทำงานจะเกิดอะไรขึ้น
โปรแกรมจะตรวจสอบ case ถัดไป
โปรแกรมจะแจ้งข้อผิดพลาด
กระโดดไปทำคำสั่งหลัง default
กระโดดออกนอก switch..case
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าหากใช้เครื่องหมาย; หลังการตรวจสอบเงื่อนไขของ if จะเกิดอะไรขึ้น
โปรแกรมจะแจ้งข้อผิดพลาด
โปรแกรมมองว่าเป็นสเตตเมนต์ว่าง
ไม่สามารถคอมไพล์ได้
ไม่มีข้อถูก
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
การออกแบบและการเขียนอัลกอริทึม

Quiz
•
1st - 10th Grade
20 questions
TinkerCAD ประยกุต์กลไกไฟฟ้า Arduio

Quiz
•
9th - 12th Grade
20 questions
เทคโนโลยีเปลี่ยนโลก

Quiz
•
9th Grade
20 questions
เทคโนโลยี

Quiz
•
7th - 9th Grade
20 questions
คอมพิวเตอร์ ครูป๊อปร.ร.ดอนหมู

Quiz
•
9th Grade
20 questions
สอบปลายภาค ม.4 ไพทอน

Quiz
•
9th Grade
15 questions
หน่วยที่ 3 เทคโนโลยีบล็อกเชน (Blockchain)

Quiz
•
9th - 12th Grade
15 questions
กลางภาค ภาษาซี

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade