
Python Tuple Quiz
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Medium
Ya-Ching Yang
Used 5+ times
FREE Resource
Enhance your content in a minute
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()
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
11 questions
Excel
Quiz
•
1st - 10th Grade
10 questions
Imagine Logo
Quiz
•
5th - 8th Grade
12 questions
Algorytmy
Quiz
•
6th Grade
15 questions
QUIZ SISTEMAS OPERATIVOS
Quiz
•
5th - 10th Grade
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
9 questions
Έλεγχος κατανόησης Γ Γυμνασίου
Quiz
•
6th Grade
10 questions
Nowe technologie
Quiz
•
1st - 6th Grade
10 questions
Scratch Vui
Quiz
•
3rd - 6th Grade
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
