Search Header Logo

8 задание

Authored by Диана Гафарова

Computers

11th Grade

Used 1+ times

8 задание
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.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Функция библиотеки itertools, которая возвращает: ('A', 'A', 'A', 'А'), ('A', 'A', 'A', 'Б'), ('A', 'A', 'A', 'Б')

(a)  

2.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Функция библиотеки itertools, которая возвращает: ('A', 'Б', 'В', 'Г'), ('A', 'Б', 'В', 'Д'), ('A', 'Б', 'В', 'Е')

(a)  

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Что выведет программа?

x = 89

s = ''

while x > 0:

s += str(x % 3)

x = x // 3

print(s)

0

22001

10022

1022

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Что выведет программа?

x = 89

s = ''

while x > 0:

s += str(x % 3)

x = x // 3

print(x)

0

22001

10022

1022

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

itertools.product() примерно эквивалентна вложенным циклам

while True
for...in...

6.

FILL IN THE BLANKS QUESTION

30 sec • 2 pts

Метод, который отвечает за объединение списка строк

(a)  

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Выберите верную запись:

from itertools import*
for x in product('1234', r = 6):

from itertools import
for x in product('1234', r = 6):

from itertools import*
for x in product('1234', repeat = 6):

from intertools import*
for x in product('1234', repeat = 6)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?