Dict2

Dict2

6th - 8th Grade

7 Qs

quiz-placeholder

Similar activities

Express Course - Lesson 1 Programming with Angry Birds

Express Course - Lesson 1 Programming with Angry Birds

6th Grade

11 Qs

WP-PP1

WP-PP1

1st - 10th Grade

6 Qs

Are you ready to code?

Are you ready to code?

7th Grade

12 Qs

Control Structures in Java

Control Structures in Java

8th Grade

10 Qs

Disney princesses

Disney princesses

KG - University

5 Qs

Python Turtle

Python Turtle

KG - Professional Development

11 Qs

What is Hour of Code?

What is Hour of Code?

6th - 8th Grade

5 Qs

Programming - Tour of IDE

Programming - Tour of IDE

3rd - 12th Grade

10 Qs

Dict2

Dict2

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Eman Magdy

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can nest a list inside a list

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The key of the dictionary can be integer, string, or a list.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value of the dictionary can be an integer, string, a list, or another dictionary.

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

print(new_dict["Elsa"]["Hobby"][1])

["Code", "Games"]

Code

Games

Coding

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

print(new_dict["Anna"]["Hobby"])

["Reading", "Drawing"]

Reading

Drawing

Coding

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

print(new_dict["Anna"]["Course"])

English

Reading

["Reading", "Drawing"]

Coding

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

To edit the course for Elsa, what should be written?

new_dict["Elsa"]="French"

new_dict["Elsa"]["Course"]="French"

new_dict["Elsa"]["Course"][0]="French"