DICTIONARIES IN PYTHON

DICTIONARIES IN PYTHON

11th Grade

7 Qs

quiz-placeholder

Similar activities

Database Concept

Database Concept

9th - 12th Grade

10 Qs

Dictionary1

Dictionary1

11th - 12th Grade

10 Qs

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

11th Grade - University

9 Qs

UT3

UT3

11th Grade

10 Qs

DICTIONARIES

DICTIONARIES

11th Grade

8 Qs

Python Dictionary Quiz

Python Dictionary Quiz

9th - 12th Grade

10 Qs

Searching and sorting

Searching and sorting

11th Grade

12 Qs

Python Basics

Python Basics

11th Grade - University

10 Qs

DICTIONARIES IN PYTHON

DICTIONARIES IN PYTHON

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Parul Saraswat

Used 12+ times

FREE Resource

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