PYTHON DICTIONARIES

PYTHON DICTIONARIES

11th Grade

14 Qs

quiz-placeholder

Similar activities

BSMM SMKTD2 - khemah & pemasangan

BSMM SMKTD2 - khemah & pemasangan

7th - 11th Grade

13 Qs

Pemilu

Pemilu

KG - University

10 Qs

phần mềm trình chiếu

phần mềm trình chiếu

1st - 12th Grade

10 Qs

KUIS 1 SWOT

KUIS 1 SWOT

11th Grade

10 Qs

KELAS 5 TEMA 1

KELAS 5 TEMA 1

11th Grade

15 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Email Lớp 6

Email Lớp 6

6th Grade - University

17 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

PYTHON DICTIONARIES

PYTHON DICTIONARIES

Assessment

Quiz

Computers, Other

11th Grade

Practice Problem

Medium

Created by

Archana Pataskar

Used 569+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

A dictionary is an example of a sequence ...

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A Python dictionary stores ...

value - key pairs

key - value pairs

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following create an empty dictionary (D)?

D = dict()

D = ()

D = []

D = {}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is this?
quiz = {"Do you help out at home? ":"yes",        
"Do you beleive in Santa? ":"yes"
}

list
string
dictionart
dictionary

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which symbol surrounds a dictionary?

{
(
[
:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

is this code correct?
quiz = ("Do you help out at home? ":"yes"      }

No
Yes
Both

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You have the following dictionary definition:


d = {'foo': 100, 'bar': 200, 'baz': 300}


What method call will delete the entry whose value is 200?

delete d('bar')

d.pop("bar")

d.remove("bar")

None of the above

Create a free account and access millions of resources

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?