
Python Modules

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Chanyoot Meepoh
Used 32+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
ข้อใดสรุปประเด็นสำคัญของ Module ได้ชัดเจนที่สุด
การแยกโค้ดไว้อีกไฟล์ แล้วเรียกใช้งานจากอีกไฟล์
การสร้างฟังก์ชัน
การประกาศตัวแปร
การเรียกใช้งานตัวแปร
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
จากโค้ดบรรทัดที่ 3 โค้ดใดเป็นการเรียกใช้โมดูล
circle
ar
area
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
คำสั่งใดเป็นการเรียกใช้งานไฟล์ โมดูล
import
circcle
area
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
def get_circle_area(radius):
return 22/7 * (radius * 2)
จากโค้ดข้างต้น return หมายถึง
ส่งค่ากลับ จากการคำนวณ
22/7 * (radius * 2)
ส่งค่าเข้าฟังก์ชัน
นำเข้าโมดูล
วนรอบ
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
ข้อใดไม่เป็นเหตุผลในการใช้งานโมดูล
เก็บโค้ดที่ใช้บ่อย แยกไฟล์ไว้เรียกใช้งาน
ลดการเขียนโค้ดซ้ำๆ
ให้โปรแกรมเล็กลง
เพื่อใช้ในการวนรอบ
Similar Resources on Wayground
10 questions
แบบทดสอบหลักสูตรที่ 2

Quiz
•
10th Grade
10 questions
แบบทดสอบหน่วยที่ 1เรื่อง พื้นฐานการสื่อสารข้อมูลและเครือข่าย

Quiz
•
10th Grade
10 questions
การเขียนโปรแกรมคอมพิวเตอร์

Quiz
•
9th - 12th Grade
10 questions
Computer Graphics

Quiz
•
12th Grade
10 questions
Adobe Photoshop

Quiz
•
12th Grade
10 questions
แบบทดสอบคอร์สที่ 4 (ชุดที่ 1)

Quiz
•
12th Grade
10 questions
Canva เบื้องต้น

Quiz
•
12th Grade
10 questions
รูปแบบภัยคุกคามทางไซเบอร์

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade