Lesson 10 Dictionary Review

Lesson 10 Dictionary Review

8th Grade

9 Qs

quiz-placeholder

Similar activities

Quiz

Quiz

8th Grade

10 Qs

App Inventor Introductory Review

App Inventor Introductory Review

6th - 8th Grade

10 Qs

HTML Basics

HTML Basics

8th - 10th Grade

10 Qs

9.1.2 - Starter Quiz

9.1.2 - Starter Quiz

7th - 11th Grade

14 Qs

List in Python

List in Python

8th - 9th Grade

10 Qs

Python Lists Substrings

Python Lists Substrings

8th - 9th Grade

10 Qs

Python - Programming Language

Python - Programming Language

8th - 12th Grade

7 Qs

Slice Python Quiz

Slice Python Quiz

6th - 8th 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?

lists

works with indexes.

indexing

works with keys and values

dictionary

is a list of data

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

print(dictionary_name[value])

add a key and value to a dictionary

.pop()

remove a key from a dictionary

dictionary_name[key] = value

create a dictionary

curly brackets {}

print a specific value

dictionary_name[key] = value

change a value in 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