
PythonMID
Authored by Kritiya Ra
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ใน Python, ฟังก์ชันที่ใช้ในการเรียง Dictionary ตามคีย์ได้คือ?
sorted()
order()
arrange()
sort()
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ฟังก์ชัน count() ใน Tuple ใช้ทำอะไร?
ไม่มีฟังก์ชัน count() ใน Tuple
นับจำนวน Tuple ทั้งหมดที่มีค่าเท่ากับค่าที่กำหนด
นับจำนวนครั้งที่ค่านั้นปรากฏในลำดับที่กำหนด
นับจำนวนครั้งที่ค่านั้นปรากฏใน Tuple
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าต้องการเพิ่มสมาชิก "apple" ลงในเซตชื่อ fruits ใน Python คำสั่งใดต่อไปนี้เป็นวิธีที่ถูกต้อง?
fruits.append("apple")
fruits.insert("apple")
fruits.add("apple")
fruits.update("apple")
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ใน Python, ฟังก์ชัน intersection() ใช้ทำอะไร?
หาสมาชิกที่มีในเซตแรกแต่ไม่มีในเซตที่สอง
สร้างเซตที่มีสมาชิกเฉพาะที่ซ้ำกันในเซตต้นฉบับทั้งสอง
นับจำนวนสมาชิกที่ปรากฏในเซตทั้งสอง
รวมสมาชิกที่ไม่ซ้ำกันในเซตทั้งสอง
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ฟังก์ชัน update() ใน Dictionary ทำอะไร?
ไม่มีฟังก์ชัน update() ใน Dictionary
อัปเดตค่าของคีย์ที่มีอยู่ใน Dictionary
เพิ่มคีย์และค่าใหม่เข้าไปใน Dictionary
ลบคีย์และค่าทั้งหมดใน Dictionary
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
หากมี Tuple ดังต่อไปนี้ (3, 5, 2, 5, 9, 5, 4, 7) และต้องการหา index ของค่า 5 ที่ปรากฏครั้งแรก คำสั่งใดจะให้ผลลัพธ์ที่ถูกต้อง?
tuple.find(5)
tuple.find(5, 1)
tuple.index(5)
tuple.index(5, 1)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ใน Python, ฟังก์ชัน zip() ทำอะไร?
รวมสมาชิกจากลิสต์หลาย ๆ ลิสต์เข้าด้วยกันในรูปแบบของ Tuple
สลับค่าระหว่างสมาชิกในลิสต์
ไม่มีฟังก์ชัน zip() ใน Python
ลบสมาชิกที่ซ้ำกันออกจากลิสต์
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
Capcut
Quiz
•
10th Grade - University
10 questions
While
Quiz
•
9th - 12th Grade
12 questions
M3_Design_5G_Cars
Quiz
•
12th Grade
15 questions
เครื่องมือโปรแกรม Adobe premiere pro
Quiz
•
12th Grade
10 questions
Portfolio
Quiz
•
11th - 12th Grade
12 questions
แบบทดสอบ บทที่ 6 วิชาวิทยาการคำนวณ 2
Quiz
•
12th Grade
10 questions
การใช้เทคโนโลยีอย่างปลอดภัย
Quiz
•
12th Grade
10 questions
แบบทดสอบ เรื่อง ความฉลาดของ AI
Quiz
•
5th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade