python dictionary and set

python dictionary and set

Professional Development

15 Qs

quiz-placeholder

Similar activities

SOAL PRETEST PPG 5

SOAL PRETEST PPG 5

Professional Development

10 Qs

N/A-Clase3: EXPLICA: Biodivesidad, Mecanismos, Materia

N/A-Clase3: EXPLICA: Biodivesidad, Mecanismos, Materia

Professional Development

10 Qs

Marketing Digital

Marketing Digital

Professional Development

14 Qs

Sosialisasi KM 211 Tahun 2020

Sosialisasi KM 211 Tahun 2020

Professional Development

15 Qs

Medición de eficacia Curso Auditores

Medición de eficacia Curso Auditores

Professional Development

20 Qs

Labor Relations and Negotations 1

Labor Relations and Negotations 1

University - Professional Development

15 Qs

Quiz diciembre 2020 Territorio Levante

Quiz diciembre 2020 Territorio Levante

Professional Development

17 Qs

Literasi DIKTI #3

Literasi DIKTI #3

Professional Development

10 Qs

python dictionary and set

python dictionary and set

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Assistant Chennai

Used 164+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code snippet above outputs

error

None

NaN

-1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code above prints

Math

Physics

Chemistry

English

4

3.8

3.6

3.7

None

None

None

None

NaN

NaN

NaN

NaN

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the program above

e

y

t

g

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The output of the code above is

[101, 102, 103, 104]

[3.6, 3.7, 3.8, 4]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code above

[3.6, 3.7, 3.8, 4]

[101, 102, 103, 104]

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Which of the following code deletes the key 103 and its value

del grades[103]

grades.pop(103)

del grades["103"]

grades.pop("103")

Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Square brackets in an assignment statement will create which type of data structure?

( s=[] )

List

Queue

Dictionary

Set

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?