Search Header Logo

ПШ_Python_4

Authored by Mar Eva

Computers

1st Grade

Used 14+ times

ПШ_Python_4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

В языке Python списки (тип list) являются

изменяемыми

НЕизменяемыми

неизвестно

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

В языке Python строки (тип str) являются

изменяемыми

НЕизменяемыми

неизвестно

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

mystr = 'a' *3 + 'b' *2 + 'c' * 1

print(mystr)

abc

aaabbc

aabcc

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

str1 = '1'

str2 = str1 + '2'

str3 = str2 + '3'

print(str3)

11223

123

1223

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Какие значения может принимать строковая переменная s, чтобы в результате выполнения кода было выведено слово «YES»?

if s in 'abc123abc':

print('YES')

else: print('NO')

s = '3ab'

s = '123abc'

s = '321'

s = 'abcabc'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = 'abcdefg'

print(s[0] + s[2] + s[4] + s[6])

aceg

abcd

defg

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = '01234567891011'

for i in range(0, len(s), 3):

print(s[i], end='')

0123456

03691

0246

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?