Sets and dictionaries

Sets and dictionaries

Professional Development

12 Qs

quiz-placeholder

Similar activities

Common Algorithms Quiz

Common Algorithms Quiz

KG - Professional Development

11 Qs

Functions and JavaScript

Functions and JavaScript

Professional Development

12 Qs

CSS Quiz-I

CSS Quiz-I

11th Grade - Professional Development

10 Qs

Python Quiz

Python Quiz

Professional Development

10 Qs

Cloud Computing-Model Exam-II-PART-B

Cloud Computing-Model Exam-II-PART-B

Professional Development

15 Qs

Post Test Canva

Post Test Canva

Professional Development

10 Qs

Html quiz

Html quiz

9th Grade - Professional Development

10 Qs

Forms and Maps

Forms and Maps

KG - 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

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?