ข้อใดคือการตรวจสอบว่า 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
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 Engineering
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