Elemente rječnika zapisujemo u uglatim zagradama i odvajamo ih zarezom.
Rječnik (dictionary)

Quiz
•
Education
•
12th Grade
•
Medium
Nastassia Sekulić
Used 7+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
TOČNO
NETOČNO
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Koji od navedenih je ispravan način definiranja rječnika?
auto = { 'BMW', 'Audi' }
auto = { 'BMW' : 10, 'Audi' : 8 }
auto = [ 'BMW' : 10, 'Audi' : 8 ]
auto = [ 'BMW', 10, 'Audi', 8 ]
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Što će ispisati navedeni programski kod?
KeyError
0
None
null
4.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Koja je metoda u rječniku ekvivalentna metodi append u listama i stringovima?
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Što će ispisati idući programski kod?
[ 'Audi', 'BMW', 'Honda', 'Toyota' ]
[8, 10, 12, 14]
['8', '10', '12', '14']
['Toyota', 'Honda', 'BMW', 'Audi']
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Što će ispisati idući programski kod?
[ ('Toyota', 8), ('Audi', 10), ('BMW', 12), ('Honda', 14) ]
[ ('Honda', 14), ('BMW', 12), ('Audi', 10), ('Toyota', 8) ]
[ 'Toyota', 'Audi', 'BMW', 'Honda' ]
[ ('Toyota', 'Audi'), ('BMW', 'Honda') ]
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Koji je lambda-izraz pogrešno zapisan?
z = lambda a, b: a + b
k = lambda x: x * x
s = lambda y: str(y)
t = lambda c: c ** d
8.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
Svaki element rječnika sastoji se od ___ i pripadne vrijednosti.
Similar Resources on Quizizz
12 questions
GTHS-GTC Parent/Mentee Orientation

Quiz
•
6th Grade - Professio...
5 questions
IDENTIFY DIESEL ENGINE EMISSION CONTROL SYSTEM SERVICE

Quiz
•
12th Grade
7 questions
Aturan Pencacahan

Quiz
•
12th Grade
12 questions
Name the car

Quiz
•
4th Grade - Professio...
10 questions
Samochodyyy

Quiz
•
1st Grade - Professio...
10 questions
Sustainability

Quiz
•
5th Grade - Professio...
6 questions
Toyota & Lexus in movies

Quiz
•
KG - Professional Dev...
9 questions
ROBOTS

Quiz
•
6th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Education
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University