Search Header Logo

DICTIONARIES IN PYTHON

Authored by Parul Saraswat

Computers

11th Grade

Used 15+ times

DICTIONARIES IN PYTHON
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

d=(())

D = ()

D = []

D = {}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many key-value pairs does the following dictionary have?

 

alien_0 = {'color': 'green', 'points': 5, 'power': 50, 'break':9}

3

4

5

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify which of the following is Python Logo

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Did You enjoy today's class

Yes

No

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are different types of dictionaries

Empty Dictionary

Nested Dictionary

Dictionary with Items

All the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Keys of Dictionary must be......

Antique

Unique

Integers

String

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.Clear() function used to delete the dictionary elements.

Yes

No

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?