Python: списки, кортеж, словник, множина

Python: списки, кортеж, словник, множина

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

9 . Lists, Tuples, Sets and Dictionary - 5

9 . Lists, Tuples, Sets and Dictionary - 5

12th Grade

10 Qs

AS Comp Sci - Databases key terms

AS Comp Sci - Databases key terms

11th - 12th Grade

12 Qs

Review Python Dictionaries

Review Python Dictionaries

9th - 12th Grade

18 Qs

Массивы Python

Массивы Python

9th Grade

15 Qs

Problem Solving using Python and R - UNIT II - Tuples

Problem Solving using Python and R - UNIT II - Tuples

12th Grade

15 Qs

Data Structures Quiz

Data Structures Quiz

12th Grade

10 Qs

Викторина по Python (Урок 3-4)

Викторина по Python (Урок 3-4)

5th - 11th Grade

10 Qs

Python quiz - 2

Python quiz - 2

3rd - 10th Grade

10 Qs

Python: списки, кортеж, словник, множина

Python: списки, кортеж, словник, множина

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Olga Maksimenko

Used 15+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Який об'єкт Python являється невпорядкованою змінною послідовністю?

Список (list)

Множина (set)

Словник (dict)

Кортеж (tuple)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Можна змінити значення у кортежі?

Так

Ні

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Яка функція може визначити кількість елементів у об'єктах список, множина, кортеж, словник?

range()

print()

list()

len()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Правильне видалення елемента словника?

dict1 ={"good": 4, "great": 5, "excellent": 6}

dict1.pop()

del dict1["great"]

dict1.del(4)

pop dict1["good"]

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Є список food. Що виведе програма?

[1, 101, 20]

[1, 21, 41, 61, 81]

[1, 1, 1, 1, 1]

[20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Варіанти створення пустого кортежу?

a = tuple()

a = list()

a = ()

a = []

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Варіанти створення пустого списку?

a = tuple()

a = list()

a = ()

a = []

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?