Python Tuple  Quiz

Python Tuple Quiz

6th Grade

11 Qs

quiz-placeholder

Similar activities

ETİK BİLGİ VE SİBER SUÇLAR

ETİK BİLGİ VE SİBER SUÇLAR

1st - 12th Grade

16 Qs

THƯ ĐIỆN TỬ

THƯ ĐIỆN TỬ

6th Grade

10 Qs

Scratch Öğreniyorum 3

Scratch Öğreniyorum 3

6th Grade

11 Qs

ToonApp

ToonApp

4th - 6th Grade

10 Qs

MagicaVoxel. Проверка знаний

MagicaVoxel. Проверка знаний

6th - 8th Grade

16 Qs

Bài 11. Vẽ các mẫu cơ bản

Bài 11. Vẽ các mẫu cơ bản

3rd - 7th Grade

10 Qs

Szövegszerkesztés - Formázások 2

Szövegszerkesztés - Formázások 2

6th - 7th Grade

15 Qs

1 Herramientas Digitales

1 Herramientas Digitales

6th Grade - University

10 Qs

Python Tuple  Quiz

Python Tuple Quiz

Assessment

Quiz

Computers

6th Grade

Practice Problem

Medium

Created by

Ya-Ching Yang

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers