Python Tuple  Quiz

Python Tuple Quiz

6th Grade

11 Qs

quiz-placeholder

Similar activities

個人私隱知多少?

個人私隱知多少?

6th - 8th Grade

12 Qs

CodeMonkey程式觀念測驗(琢思 201812078)

CodeMonkey程式觀念測驗(琢思 201812078)

3rd - 9th Grade

10 Qs

Scratch基礎測驗01

Scratch基礎測驗01

3rd - 6th Grade

10 Qs

資安3-4_網路遊戲,遵守分級

資安3-4_網路遊戲,遵守分級

KG - 9th Grade

15 Qs

7. Sets - Data Structures

7. Sets - Data Structures

6th - 8th Grade

15 Qs

Exploring Python Arrays and Tuples

Exploring Python Arrays and Tuples

6th Grade

15 Qs

20190116巴赫體驗活動

20190116巴赫體驗活動

4th Grade - University

14 Qs

Tuan 4 - String

Tuan 4 - String

KG - Professional Development

10 Qs

Python Tuple  Quiz

Python Tuple Quiz

Assessment

Quiz

Computers

6th Grade

Medium

Created by

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?

Media Image
Media Image
Media Image
Media Image
Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?