Search Header Logo

Lesson 44 - Dictionary Datatype 2

Authored by NotchUp .co

Professional Development, Education

5th - 8th Grade

Used 23+ times

Lesson 44 - Dictionary Datatype 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which python datatype is having key value pair ?

Dictionary

set

tuple

string

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true ?

Dictionary keys are unique

Dictionary keys can have more than one value

Dictionary can have values without having key

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code ?

x={}

print(type(x))

Dictionary

set

list

tuple

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following python datatype encloses with {} ?

Dictionary

list

set

Both set and dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default python input is of type -

string

int

float

list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to copy one dictionary into another ?

copy()

duplicate()

smaple()

Dictionary can't be copied

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to delete particular key from dictionary ?

del

clear

extern

none

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?

Discover more resources for Professional Development