ข้อใดคือการตรวจสอบว่า 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
12 questions
Quiz 1- ระบบไฟฟ้ากำลัง

Quiz
•
11th Grade
15 questions
แบบทดสอบการบำรุงรักษาเครื่องยนต์เล็ก

Quiz
•
11th Grade
15 questions
ทรานสดิ้วเซอร์ แสงควัน ก๊าซ

Quiz
•
11th Grade
10 questions
ความรู้เบื้องต้น Dobot Magician (Hardware)

Quiz
•
9th - 12th Grade
10 questions
LVDT และ RVDT

Quiz
•
11th Grade
20 questions
การเขียนโปรแกรมภาษา C ชุด2

Quiz
•
11th Grade
10 questions
ถามมาตอบไป

Quiz
•
9th - 12th Grade
10 questions
ทรานสดิวเซอร์ชนิดความจุ และความเหนี่ยวนำ

Quiz
•
11th Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Engineering
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense

Quiz
•
10th - 12th Grade