Python - тест

Python - тест

1st - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Типы данных

Типы данных

7th Grade

10 Qs

Коллекции. Turtle. Игры.

Коллекции. Turtle. Игры.

6th Grade

10 Qs

Основы Python

Основы Python

6th Grade

12 Qs

Питон1

Питон1

6th - 8th Grade

16 Qs

Python Junior

Python Junior

1st Grade

15 Qs

while loop

while loop

8th Grade

10 Qs

Циклы

Циклы

8th Grade

16 Qs

Введение в Python. Ветвление

Введение в Python. Ветвление

8th - 9th Grade

16 Qs

Python - тест

Python - тест

Assessment

Quiz

Computers

1st - 12th Grade

Hard

Created by

Komarov Egor

Used 141+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Что будет напечатано при исполнении следующего кода? print(type(1 / 2))

class < 'int'>

class <'number'>

class <'float'>

class <'tuple'>

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Что будет напечатано?

name = "snow storm"

print(name[6:8])

st

sto

to

Syntax Error

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Что выведет следующая программа?

a = [1,2,3,None,(),[],]

print(len(a))

Syntax Error

4

5

6

7

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Что выведет следующая программа?

x = 4.5

y = 2

print(x // y)

2

2.25

9

20.25

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image


1

2

3

4

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Что будет напечатано?

kvps = {"user","bill", "password","hillary"}

print(kvps['password'])

user

bill

password

Ничего. TypeError.

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Что будет показано в результате?

name = "John"

print(f'Hi, {name}')

Ошибка

"Hi, "

"Hi, John"

"Hi, name"

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?