Search Header Logo

Set & tuple

Authored by Rasul Abdikerimov

Computers

9th - 12th Grade

Used 6+ times

Set & tuple
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Как создать пустого кортежа

tuple()

tudle()

set()

()

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Чтобы добавить в set()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Как создать пустой set

{}

set()

tuple()

list()

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Как соединить наборы(set)

extend()

union()

update()

+

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Чтобы добавить в конец список?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

nums = {1,1,2,3,4} что выйдет?

{1,2,3,4}

{1,1,2,3,4}

[1,2,3,4]

(1,2,3,4)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = {1,2,5,7}

b = {3,4,5,6}

a.intersection(b) -> ?

{1,2,3,4,5,6,7}

{6}

{5,6}

{5}

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?