Rječnik (dictionary)
Quiz
•
Education
•
12th Grade
•
Practice Problem
•
Medium
Nastassia Sekulić
Used 7+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Elemente rječnika zapisujemo u uglatim zagradama i odvajamo ih zarezom.
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 Wayground
10 questions
Kuis
Quiz
•
9th - 12th Grade
10 questions
Lengua y Literatura
Quiz
•
10th - 12th Grade
10 questions
Business Industry
Quiz
•
12th Grade
10 questions
Kata Nama Am Quiz
Quiz
•
9th - 12th Grade
7 questions
QuizWiz Daily Newspaper Quiz 01/08/25
Quiz
•
12th Grade
6 questions
TPS BAHASA INDONESIA PARAGRAF 1
Quiz
•
10th - 12th Grade
5 questions
Golongan Kata
Quiz
•
9th - 12th Grade
10 questions
Growthyfai July 16 Weekly Quiz
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
