switch case ในภาษา C ใช้สำหรับอะไร?
ปลายภาค2-2568

Quiz
•
Instructional Technology
•
11th Grade
•
Hard
nakarin supviriya
Used 54+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
ใช้สำหรับทำซ้ำโค้ดหลาย ๆ รอบ
ใช้สำหรับเลือกทางเลือกที่เป็นไปได้หลายทางตามค่าของตัวแปร
ใช้สำหรับเรียกฟังก์ชันซ้ำ ๆ
ใช้สำหรับจัดการข้อผิดพลาดในโปรแกรม
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
default ใน switch case ทำหน้าที่อะไร?
ใช้สำหรับเรียกฟังก์ชันอื่นเมื่อไม่มี case ใดตรงกับค่าของตัวแปร
ใช้สำหรับระบุค่าตั้งต้นของตัวแปร
ใช้สำหรับจัดการกรณีที่ไม่มี case ใดตรงกับค่าของตัวแปร
ใช้สำหรับออกจากโปรแกรม
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
จากภาพเป็นโครงสร้างทางเลือกชนิดใด
หลายทางเลือก
3 ทางเลือก
2 ทางเลือก
1 ทางเลือก
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
จากโครงสร้าง เป็นคำสั่งใดใช้ในการสร้างเงื่อนไข
switch case
if
else if
else
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
เงื่อนไขทางเลือกเดียว จะเกิดเหตุการณ์ หรือ คำสั่ง ในสถานะใดเท่านั้น
ได้ทั้งหมดถ้าสดชื่น
จริงเท่านั้น
เท็จเท่านั้น
หลายทางนะจ๊ะ
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
หลักสำคัญการสร้างเงื่อนไข"หลายทาง"จะจบด้วย ทำสั่งใดเท่านั้น
switch case
if
else if
else
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
สมมุติว่า ได้คะแนน 30 จะเกิดผลอย่างไร
ไม่เกิดอะไรขึ้นเพราะเป็น "เท็จ"
ไม่เกิดอะไรขึ้นเพราะเป็น "จริง"
ปรากฎคำว่า Past เพราะเป็น "จริง"
ปรากฎคำว่า Past เพราะเป็น "เท็จ"
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
ข้อสอบโครงงานคอมพิวเตอร์ M6

Quiz
•
9th - 12th Grade
15 questions
แบบทดสอบก่อนเรียน วิทยาการคำนวณ ม.5

Quiz
•
11th Grade
20 questions
แบบทดสอบเครื่องวัดไฟฟ้า

Quiz
•
9th - 12th Grade
20 questions
วิทยาการคำนวณ ม.5 คำถามท้ายบท 4

Quiz
•
11th Grade
20 questions
แบบทดสอบกลางภาคการออกแบบและเทคโนโลยี ม.5

Quiz
•
11th Grade
20 questions
test-midterm 1-2564

Quiz
•
1st Grade - University
20 questions
แบบทดสอบ ชุดที่ 1วิชาคอมพิวเตอร์และสารสนเทศเพื่องานอาชีพ

Quiz
•
9th - 12th Grade
20 questions
ข้อสอบปลายภาค วิชาอาชีวอนามัยและความปลอดภัย

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University