
Python Tuple Quiz
Quiz
•
Computers
•
6th Grade
•
Medium
Ya-Ching Yang
Used 5+ times
FREE Resource
11 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
(1, 2, 3, 4, 5)
這種資料型態稱為_____?
This data type is called _____.
2.
MULTIPLE SELECT QUESTION
30 sec • 3 pts
以下哪些是tuple? (多選)
Which of the following are tuples? (Multiple Choice)
tuple1 = (1)
tuple2 = (1,)
tuple3 = (1, "sth", True, [1, 2, 3], tuple1)
tuple4 = 1, 10, 20
tuple5 = [1, 2, 3]
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
什麼樣的資訊建議存儲在tuple中?
What kind of information is recommended to be stored in tuples?
需要頻繁更新的數據
Data that requires frequent updates
臨時數據
Temporary data
不應修改的靜態數據
Static data that should not be modified
動態數據
Dynamic data
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Tuple和List之間的主要區別?
What is the main difference between tuples and lists?
Tuple建立後無法修改,List可以
Tuples cannot be modified once created, lists can
Tuple可以儲存比List更多的值
Tuples can store more values than lists
Tuple可以修改,List不行
Tuples can be modified, lists cannot
Tuple可以新增或刪除值,List不行
Tuples can add or delete values, lists cannot
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以下哪個程式碼不會出現錯誤?
Which of the following codes will not cause errors?
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
什麼函數可以用來找到元組中的值數量?
What function can be used to find the number of values in a tuple?
count()
size()
length()
len()
7.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
將資料型態轉換成List或Tuple用什麼函數? (多選)
What function is used to convert data type to List or Tuple? (Multiple choice)
dict()
tuple()
list()
array()
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
8 questions
Time Management
Quiz
•
6th Grade
18 questions
Digital Footprint
Quiz
•
6th Grade
20 questions
typing
Quiz
•
6th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats
Interactive video
•
6th - 10th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI
Quiz
•
6th - 8th Grade
20 questions
Computer Hardware
Quiz
•
6th - 8th Grade
