Python - тест

Python - тест

1st - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Java Script 1.1. Знакомство с JavaScript

Java Script 1.1. Знакомство с JavaScript

1st - 12th Grade

11 Qs

Оценивание 9-ые классы

Оценивание 9-ые классы

9th Grade

10 Qs

Python while 24/25

Python while 24/25

8th Grade - University

18 Qs

Python - Основы

Python - Основы

1st - 4th Grade

18 Qs

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

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

8th - 9th Grade

16 Qs

циклы в Python

циклы в Python

10th Grade

14 Qs

Python: списки и матрицы

Python: списки и матрицы

10th Grade

19 Qs

Test 1 Python (2024-2025)

Test 1 Python (2024-2025)

6th - 8th Grade

15 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?