ข้อใดคือการตรวจสอบว่า x เป็นเลขคู่

ภาษาซี ชุดที่ 3

Quiz
•
Engineering
•
11th Grade
•
Hard
อุบลรัตน์ มณีมัย
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (x/2 = 0)
if (x%2! = 0)
if (x%2 == 0)
if (x%2 != 0)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเขียนการตรวจสอบว่าตัวแปร x, y และ z มีค่าเท่ากัน
if (x=y=z)
if (x%2! = 0)ข. if (x==y==z)
if (x==y && y==z)
if (x==y || y==z)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเขียนการตรวจสอบว่า ch ไม่เท่ากับอักษร n
if (ch <> ‘n’)
if (ch < > ‘n’)
ค. if (ch != ‘n’)
if (ch == “n”)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดกำหนดกรณีเลือกในคำสั่ง switch ได้ถูกต้อง
case < 5
case >= 5
case y
case ‘y’
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าตัวแปร x = 19 เมื่อรันโปรแกรมตัวแปร x จะมีค่าเท่าใด
18
19
20
21
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือลักษณะของโปรแกรมวนรอบทำซ้ำ (Loop)
โปรแกรมที่ทำงานตามลำดับจากบนลงล่าง
โปรแกรมที่ใช้การตัดสินใจควบคุมการทำงาน
โปรแกรมที่วนกลับมาทำซ้ำตำแหน่งเดิม
โปรแกรมที่รับข้อมูลให้ทำงานเพียงหนึ่งครั้ง
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จุดเด่นของโปรแกรมวนรอบคือข้อใด
ช่วยให้โปรแกรมทำงานเร็วขึ้น
ลดจำนวนบรรทัดของโปรแกรมที่ซ้ำกัน
สามารถนำไปใช้ในโปรแกรมอื่นได้
ถูกทุกข้อ
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
RTD เทอร์มิสเตอร์ คลื่นเลียง

Quiz
•
11th Grade
10 questions
สเตรนเกจ

Quiz
•
11th Grade
10 questions
แบบทดสอบหลักสูตรวิชาชีพระยะสั้น

Quiz
•
9th - 12th Grade
10 questions
มอเตอร์

Quiz
•
11th Grade
15 questions
แบบทดสอบระบบบังคับเลี้ยวรถยนต์

Quiz
•
11th Grade
10 questions
test220867

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Engineering
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade