
Словари Python повторение

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Александра К
Used 9+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Словари (тип данных dict) являются
неизменяемыми
изменяемыми
2.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Элемент в словаре имеет две части. Как они называются?
ключ
строка
элемент
значение
индекс
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Предположим, что пара значений 'beegeek':2018 является элементом некоторого словаря. Что служит ключом? И что - значением?
'beegeek' – значение
2018 – значение
2018 – ключ
'beegeek' – ключ
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Как создать пустой словарь?
my_dict = ()
my_dict = {}
my_dict = dict()
my_dict = dict{}
my_dict = empty()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что увидим в результате выполнения приведенного ниже фрагмента кода?
ошибка во время выполнения кода
ввв
ббб
1
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что даст выполнение приведенного ниже фрагмента кода?
{'first': 1, 'second': 2, 'third': 3}
{1: 'first', 2: 'second', 3: 'third'}
[('first', 100), ('second', 200), ('third', 300)]
ошибка во время выполнения кода
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что покажет результат выполнения приведенного ниже фрагмента кода?
[4, 5]
5
[0, 1]
3
[2, 3]
8.
MULTIPLE SELECT QUESTION
30 sec • 5 pts
Предположим, ключ - это идентификатор учащегося, а значение - оценка. Выберите вариант, когда в результате получится оценка студента с идентификатором 102.
grades[102]
grades[2]
grades[3]
grades.key(102)
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
d1 = {1:10, 2:20, 3:30, 4:40, 5:50, 6:60, 7:70}
del d1 [3]
print (d1)
{1:10, 2: 20, 4: 40, 5: 50, 6: 60, 7: 70}
{1:10, 2: 20, 3: 30, 5: 50, 6: 60, 7: 70}
{4: 40}
{3: 30}
Similar Resources on Wayground
5 questions
М1У1 Kotlin

Quiz
•
3rd Grade - University
10 questions
Алгоритмы

Quiz
•
5th - 11th Grade
10 questions
Кодирование информации

Quiz
•
7th - 10th Grade
11 questions
Форми та зв'язки

Quiz
•
10th Grade
8 questions
Python Словари

Quiz
•
10th Grade
12 questions
Алгоритмы ЭЦП

Quiz
•
11th Grade
10 questions
Python

Quiz
•
1st - 12th Grade
14 questions
PYTHON DICTIONARIES

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade