wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

9-Класс ТЕСТ 30-34

Total questions: 20

Worksheet time: 59mins

Name
Class
Date
1.

n = 7

a)

float ( )

b)

str ( )

c)

int ( )

d)

bool ( )

2.

n = 1.7

a)

int ( )

b)

float ( )

c)

str ( )

d)

bool ( )

3.

n = '32_school'

a)

int ( )

b)

float ( )

c)

str ( )

d)

bool ( )

4.

x = True

y = False

a)

int ( )

b)

float ( )

c)

str ( )

d)

bool ( )

5.

x = 54

print ( type (x) )

a)

< class 'int' >

b)

type(54)

c)

54

d)

< class 'int x = 54' >

6.

d=True

print ( type (d) )

a)

< class 'int' >

b)

< class 'bool' >

c)

d=True

d)

True

7.

x = 64.5

print ( type (x) )

a)

< class 'int' >

b)

type(64.5)

c)

< class 'float' >

d)

< class '64.5' >

8.

x = 'Alpamis'

print ( type (x) )

a)

x = 'Alpamis'

b)

type(Alpamis)

c)

< class 'float' >

d)

< class 'str' >

9.

print ( 12+7 )

a)

12+7

b)

19

c)

print ( 12+7 )

d)

print ( 19 )

10.

print ( 15/2 )

a)

print ( 15/2 )

b)

7.5

c)

print (7,5)

d)

15.2

11.

print ( 5**2 )

a)

print ( 5**2 )

b)

10

c)

25

d)

52

12.

print ( 25//2 )

a)

print ( 12.1 )

b)

12

c)

error

d)

12,5

13.

print ( 16%2 )

a)

print ( 8.0 )

b)

8

c)

0

d)

error

14.

x=5

y=x**2+5

print(y)

a)

30

b)

10

c)

25

d)

5

15.

x=5

x+=2

print(x)

a)

NameError

b)

2

c)

10

d)

7

16.

x=8

x-=3

print(x)

a)

5

b)

11

c)

3

d)

NameError

17.

x=15

x/=5

print(x)

a)

10

b)

20

c)

3

d)

NameError

18.

x=3

x**=2

print(x)

a)

5

b)

9

c)

2

d)

NameError

19.

\leftarrow

a)

y=((x+5)/(x**2-1))+(x**3+1)/2*x

b)

y=((x+5)+(x**2-1))+(x**3/1)+2*x

c)

y=(x+5)/(x^2-1)+(x^3+1)/2x

d)

y=((x+5)//(x**2-1))+(x**3+1)//2*x

20.

\leftarrow

(a)