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

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

9th - 12th Grade

14 Qs

quiz-placeholder

Similar activities

Data Frame1

Data Frame1

12th Grade

10 Qs

Lists and Tuples

Lists and Tuples

12th Grade

10 Qs

Pandas Series-1–Quiz

Pandas Series-1–Quiz

11th - 12th Grade

11 Qs

Моделі. Типи моделей .

Моделі. Типи моделей .

12th Grade

11 Qs

Problem Solving using Python and R - UNIT II - Dictionary

Problem Solving using Python and R - UNIT II - Dictionary

12th Grade

15 Qs

Python Dictionary

Python Dictionary

11th Grade

14 Qs

PCEP 3C: Collect and process data using tuples

PCEP 3C: Collect and process data using tuples

12th Grade

10 Qs

Tuples

Tuples

11th Grade

15 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?