Sets and dictionaries

Sets and dictionaries

Professional Development

12 Qs

quiz-placeholder

Similar activities

Python5

Python5

Professional Development

12 Qs

Javascript HTML CSS

Javascript HTML CSS

Professional Development

13 Qs

Git Quiz

Git Quiz

Professional Development

10 Qs

Blueprint

Blueprint

Professional Development

15 Qs

Python day5(Team 1)

Python day5(Team 1)

Professional Development

15 Qs

React/Javascript Quizz

React/Javascript Quizz

Professional Development

12 Qs

React

React

Professional Development

12 Qs

Strings and Arrays

Strings and Arrays

Professional Development

13 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

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?