Python 2

Python 2

7th Grade

10 Qs

quiz-placeholder

Similar activities

Functions Review (codeHS Tracy Python)

Functions Review (codeHS Tracy Python)

6th - 8th Grade

12 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Python 2022, part I

Python 2022, part I

7th - 10th Grade

11 Qs

ЭХ 2 модуль

ЭХ 2 модуль

6th - 8th Grade

12 Qs

Поняття мови програмування.Складові мови програмування

Поняття мови програмування.Складові мови програмування

1st - 11th Grade

11 Qs

Grade 7 & 8 First quiz term 3

Grade 7 & 8 First quiz term 3

7th Grade

10 Qs

Python. Input, print

Python. Input, print

5th - 8th Grade

15 Qs

Python Sets

Python Sets

7th Grade

13 Qs

Python 2

Python 2

Assessment

Quiz

Computers

7th Grade

Easy

Created by

Лидия Крылова

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Список - это

Тип данных, который хранит набор или последовательность элементов

Цикл для перебора последовательности

Строковый тип данных

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Индекс элемента списка - это

Его значение

Его порядковый номер

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код:

numbers = list(range(16, 8, -3))

print(numbers)

[16, 8, 3]

[16, 8, 3]

[16, 13, 10]

[8, 11, 14]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код:

numbers = list(range(1, 15))

if 16 in numbers:

print("В списке есть элемент 16")

else:

print("В списке нет элемента 16")

В списке есть элемент 16

В списке нет элемента 16

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код:

numbers = list(range(10))

numbers.pop(2)

print(numbers)

[0, 1, 3, 4, 5, 6, 7, 8, 9]

[0,2,3,4,5,6,7,8,9]

[0,1,2,3,4,5,6,7,8]

[0,1,3,4,5,6,7,8,9,10]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код:

all_types = [10, 'Python', 10, 3.14, 'Python', ['I', 'am', 'list']]

all_types.remove('Python')

print(all_types)

[10, 'Python', 10, 3.14, 'Python', ['I', 'am', 'list'], 'Python']

[10, 10, 3.14, 'Python', ['I', 'am', 'list']]

[10, 'Python', 10, 3.14, ['I', 'am', 'list']]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что выведет код:

numbers = [100, 100, 100, 200, 200, 500, 500, 500, 500, 500, 999]

print(numbers.count(500))

2

5

[100, 100, 100, 200, 200, 999]

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?