Sets and dictionaries

Sets and dictionaries

Professional Development

12 Qs

quiz-placeholder

Similar activities

UDC 2022

UDC 2022

Professional Development

10 Qs

Mastering KineMaster

Mastering KineMaster

Professional Development

10 Qs

KOE034: Sensors and Instruments

KOE034: Sensors and Instruments

Professional Development

11 Qs

Maintain Files and Folders

Maintain Files and Folders

Professional Development

10 Qs

OWASP Top 10

OWASP Top 10

Professional Development

10 Qs

Computer Hardware and Software Quiz

Computer Hardware and Software Quiz

Professional Development

10 Qs

Python Test 1

Python Test 1

Professional Development

10 Qs

Gen. Assembly Recap Day 1

Gen. Assembly Recap Day 1

Professional Development

15 Qs

Sets and dictionaries

Sets and dictionaries

Assessment

Quiz

Computers, Mathematics

Professional Development

Practice Problem

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 • Ungraded

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 • Ungraded

Create a dictionary and print their keys in a tuple.

Evaluate responses using AI:

OFF

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?