(1, 2, 3, 4, 5)
這種資料型態稱為_____?
This data type is called _____.
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()
14 questions
Python Data types & Exceptions
Quiz
•
1st - 10th Grade
13 questions
Scratch 小測驗1
Quiz
•
6th Grade
12 questions
眼睛保護與數位禮儀(期末測驗)
Quiz
•
5th - 9th Grade
10 questions
Scratch課後測驗
Quiz
•
3rd - 6th Grade
10 questions
scratch 小測驗
Quiz
•
4th - 6th Grade
10 questions
Python list and tuple
Quiz
•
6th - 8th Grade
10 questions
台中市三年級資訊2-02數位學習高手-01主動學習樂
Quiz
•
3rd - 12th Grade
16 questions
自走車測驗
Quiz
•
6th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary
Quiz
•
6th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
49 questions
How Well Do You Know Your 6th Grade Teachers?
Quiz
•
6th Grade
5 questions
Multiply Decimals
Lesson
•
5th - 6th Grade
10 questions
Adding and Subtracting Decimals
Quiz
•
6th Grade
33 questions
Mechanical Energy Transfer
Quiz
•
6th Grade