Lesson 10 Dictionary Review

Lesson 10 Dictionary Review

8th Grade

9 Qs

quiz-placeholder

Similar activities

Python List Practice

Python List Practice

8th - 9th Grade

10 Qs

Python - Programming Language

Python - Programming Language

8th - 12th Grade

7 Qs

Grade-8 Ch-3 Log On to MS Access 2010

Grade-8 Ch-3 Log On to MS Access 2010

8th Grade

12 Qs

Python L20 Dictionary

Python L20 Dictionary

6th - 8th Grade

10 Qs

9.3 L3 Python Lists

9.3 L3 Python Lists

7th - 10th Grade

10 Qs

Python L21 Nesting & Dictionaries

Python L21 Nesting & Dictionaries

6th - 8th Grade

12 Qs

Python Dictionary

Python Dictionary

8th Grade

14 Qs

List and Method in Python

List and Method in Python

8th - 9th Grade

10 Qs

Lesson 10 Dictionary Review

Lesson 10 Dictionary Review

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Bayden Schellein

Used 3+ times

FREE Resource

9 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

How does a dictionary work?

indexing

works with keys and values

dictionary

is a list of data

lists

works with indexes.

variable

stores on piece of information

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

Song titles in an MP3 player

List

Dictionary

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

titles of fiction books that are in the library

List

Dictionary

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

information about a book like its author, title and published date

List

Dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

your favourite foods

List

Dictionary

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

student names and their grades

List

Dictionary

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which would be better for:

food categories like diary, vegetables, etc

List

Dictionary

8.

MATCH QUESTION

1 min • 1 pt

Match the following

.pop()

create a dictionary

print(dictionary_name[value])

add a key and value to a dictionary

dictionary_name[key] = value

print a specific value

curly brackets {}

change a value in a dictionary

dictionary_name[key] = value

remove a key from a dictionary

9.

DROPDOWN QUESTION

1 min • 1 pt

what happens when you try to print a key that does not exist?

​ ​ ​ (a)  

TypeError
SyntaxError
KeyError
NameError