Python 05 Dictionary/2D List

Python 05 Dictionary/2D List

4th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Tagisan ng Talino (Quiz Bee) Round 1

Tagisan ng Talino (Quiz Bee) Round 1

8th Grade

20 Qs

BOOKS

BOOKS

6th - 8th Grade

20 Qs

LKS PKN Hal 12 & 13

LKS PKN Hal 12 & 13

6th Grade

20 Qs

Kelas 6 Tema 6 subtema 1

Kelas 6 Tema 6 subtema 1

6th Grade

15 Qs

class test class 6

class test class 6

6th Grade

15 Qs

Matthew 25: 31- 46

Matthew 25: 31- 46

4th - 5th Grade

10 Qs

VII.ASB PENDIDIKAN PANCASILA

VII.ASB PENDIDIKAN PANCASILA

8th Grade - University

10 Qs

Tema 2 Subtema 3 Kelas 6

Tema 2 Subtema 3 Kelas 6

6th Grade

15 Qs

Python 05 Dictionary/2D List

Python 05 Dictionary/2D List

Assessment

Quiz

Other

4th - 8th Grade

Practice Problem

Hard

Created by

codeJuniors codeJuniors

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#How to you define an empty dictionary called myDict

myDict = " "

myDict = 0

myDict = [ ]

myDict = { }

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#Which is the key and value

car = {"Brand" : "BMW"}

Key: Brand. Value: BMW

Key BMW, Value: Brand

{"Brand" : "BMW"}

"Brand" : "BMW"

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#Can the keys in a dictionary be the same name?

Yes

No

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

#What is the output?

3

a,b,c

amt,bull,cow

6

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

#What is the output?

"A", "B", "C"

"Apple", "Banana","Carrot"

"A": "Apple", "B": "Banana", "C":"Carrot"

Error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

#What is the output?

"Apple", "Banana", "Carrot"

"A","B","C"

"A": "Apple", "B": "Banana", "C":"Carrot"

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

#How to print "Apple"


myDict = {"A": "Apple", "B": "Banana", "C":"Carrot"}

print(myDict["A"])

print(myDict[0])

print(myDict{0})

print(myDict{"A"})

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?