CP04-01 Control Statement: Selection

Quiz
•
Computers
•
University - Professional Development
•
Hard
Panupong Sornkhom
Used 11+ times
FREE Resource
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
จากคำสั่งต่อไปนี้เมื่อทำงานจนจบ x มีค่าเท่าไร เมื่อ a = 1000
(ตอบเฉพาะตัวเลข)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
num มีค่าเท่าไร หลังการทำงานของโปรแกรมนี้
(ตอบเฉพาะตัวเลข)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้า A = 8 เงื่อนไขดังต่อไปนี้ให้ผลลัพธ์อะไร
หาค่าไม่ได้
B = 0
B = 10
B = 20
B = 30
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
เมื่อจบการทำงาน y จะมีค่าเท่าใด
(ตอบเฉพาะตัวเลข)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การใช้ if statement เพื่อเช็คดูว่าค่าของ n เป็นเลขคี่ ซึ่งอยู่ในช่วงตั้งแต่ 10 - 30 หรือไม่นั้น เราต้องเขียนคำสั่งอย่างไร
if ( n%2 == 0 || n >= 10 && n<=30 )
if ( n%2 == 1 && n >= 10 && n <= 30 )
if (n%2 != 0 || n >= 10 && n <= 30)
if ( n/2 == 1 && n>=10 && n<=30)
if ( n%2 == 1) || n>=10 || n <= 30)
Similar Resources on Wayground
10 questions
เรื่องการป้องกันการโดนเเฮกของคอมพิวเตอร์

Quiz
•
9th Grade - University
10 questions
Excel 365

Quiz
•
Professional Development
10 questions
บทที่ 1 การเข้าใจดิจิทัล

Quiz
•
University
10 questions
ข้อสอบรายวิชาคอมพิวเตอร์

Quiz
•
University
10 questions
การใช้โซเชียลมีเดียอย่างปลอดภัยสำหรับผู้สูงวัย

Quiz
•
Professional Development
10 questions
แบบทดสอบวิชาเทคโนโลยีและคอมพิวเตอร์2

Quiz
•
8th Grade - University
10 questions
แบบทดสอบหลังเรียน วิทยาการคำนวณ ม.4 การออกแบบและขั้นตอนวิธี

Quiz
•
University
10 questions
Digital Business Unit5

Quiz
•
University
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
How to Email your Teacher

Quiz
•
Professional Development
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University