
Computer Programming Chapter 4 : Selection
Authored by วัชรศักดิ์ ศิริเสรีวรรณ
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
QUIZZIZ OVEC 67
Quiz
•
University
10 questions
แบบทดสอบก่อนเรียนหน่วยที่ 1 (เทคโนโลยีดิจิทัลเพื่อการจัดการอาชีพ)
Quiz
•
University
10 questions
31910-0002 องค์ประกอบศิลป์สำหรับงานกราฟิก หน่วยที่ 1
Quiz
•
University
10 questions
หน่วยที่ 1 การจัดการข้อมูลและสารสนเทศ
Quiz
•
University
10 questions
แบบทดสอบท้ายหน่วนที่ 3 ประมวลผลข้อมูล M.5
Quiz
•
University
10 questions
cp06-01-1D-Array
Quiz
•
University
10 questions
วิทยาการคำนวณ ม.1
Quiz
•
University
10 questions
อินเทอร์เน็ต (INTERNET)
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade