
Computer Programming Chapter 4 : Selection
Quiz
•
Computers
•
University
•
Hard
วัชรศักดิ์ ศิริเสรีวรรณ
Used 2+ times
FREE Resource
Enhance your content
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ข้อใดเป็นชนิดของ Control Structure ในการเขียนโปรแกรม
Automated Control Structure
Repetitive Control Structure
Sequential Control Structure
Selection Control Structure
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ข้อใดจริงเกี่ยวกับ ประพจน์ทางตรรกศาสตร์ ในภาษา Python
ให้ผลลัพธ์เป็นค่าความจริง True หรือ False
ใช้คำว่า true หรือ false หรือ TRUE หรือ FALSE แทนได้
ส่วนใหญ่ได้จากผลลัพธ์การเปรียบเทียบผ่านตัวดำเนินการเปรียบเทียบ
ไม่สามารถใช้ค่าที่ได้จากฟังก์ชันต่างๆแทนได้
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ประโยคเขียนด้วยภาษา Python ข้อใด ให้ค่าความจริงเป็น False เมื่อกำหนดให้ x = 0
x = 3
x >= 1
x% 3 != 0
x * 3 < 3
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
ถ้าต้องการตรวจสอบว่า ตัวแปร radius เก็บข้อมูลชนิด integer หรือไม่ ต้องใช้คำสั่งในข้อใด
type(radius)=='int'
isinteger(radius)
isnumeric(radius)
isinstance(radius, int)
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
keyword ใดบ้างที่ต้องตามด้วย Boolean expression
if
elif
else
is
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าใส่ค่า age เท่ากับ 15 จะแสดงข้อความอะไร
Elder fare
No fare for kids
Normal fare
ไม่แสดงข้อความใดๆ
7.
MULTIPLE SELECT QUESTION
1 min • 2 pts
ชุดคำสั่งนี้ พิมพ์ค่าอะไรออกมาบ้าง
Alpha
Beta
Charlie
Delta
Epsilon
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ประพจน์ตรรกศาสตร์ต่อไปนี้ จะเขียนเป็นภาษา Python ได้อย่างไร
math.mod(32,3) == 3 and not(12/5 > 3)
(32%3 == 3) ⋀ ∼(12/5 > 3)
(32 mod 3 = 3) and not (12/5 >3)
(32%3 == 3) and not(12/5 > 3)
9.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
กำหนดเงื่อนไขและการแสดงข้อความเป็นดังตาราง ชุดคำสั่งข้อใด ตรงกับตารางนี้ที่สุด
Similar Resources on Wayground
10 questions
เริ่มต้นโปรแกรม Photoshop
Quiz
•
University
10 questions
นวัตกรรมและเทคโนโลยีสมัยใหม่
Quiz
•
University
10 questions
คอมพิวเตอร์กราฟิกเบื้องต้น
Quiz
•
7th Grade - University
10 questions
แบบทดสอบก่อนเรียน
Quiz
•
University
10 questions
ความรู้ทางดิจิทัล
Quiz
•
University
10 questions
ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 4
Quiz
•
University
11 questions
Regular Expressions
Quiz
•
University
10 questions
แบบทดสอบท้ายหน่วยที่ 4 การใช้เทคโนโลยีสารสนเทคอย่างปลอดภัย
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
