Sets and dictionaries

Sets and dictionaries

Professional Development

12 Qs

quiz-placeholder

Similar activities

GEMATMW - Cryptography

GEMATMW - Cryptography

University - Professional Development

16 Qs

Cycle 4: Session 8 Review.

Cycle 4: Session 8 Review.

Professional Development

12 Qs

M365 Security Pillar 1 (Identity & Access Management)

M365 Security Pillar 1 (Identity & Access Management)

Professional Development

10 Qs

Cloud computing

Cloud computing

Professional Development

10 Qs

aXQtMjktMTEtMjAyMg==

aXQtMjktMTEtMjAyMg==

Professional Development

10 Qs

CHFI-Post-Assessment

CHFI-Post-Assessment

Professional Development

10 Qs

Family Quizz

Family Quizz

5th Grade - Professional Development

15 Qs

Central Tendency_pre

Central Tendency_pre

Professional Development

10 Qs

Sets and dictionaries

Sets and dictionaries

Assessment

Quiz

Computers, Mathematics

Professional Development

Hard

Created by

Estefanía Garcés Pérez

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the main characteristics of the sets?

They're miss organized.

They're organized.

They're immutable and iterable.

They're not indexed.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between the sets and the frozensets?

The frozensets are indexed.

The sets are immutable.

The frozensets are immutable.

The sets are organized.

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What functions do you use to erase an element in a dictionary?

remove

popitem

pop

delete

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Create two sets, join them together and find the difference.

Evaluate responses using AI:

OFF

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What functions do you use to erase elements in a set?

delete

pop

discard

popitem

remove

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What's the difference between remove and discard?

Remove returns nothing.

Discard returns an error if it doesn't find the element.

Remove returns an error if it doesn't find the element.

Discard doesn't return anything.

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Create a dictionary and print their keys in a tuple.

Evaluate responses using AI:

OFF

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?