wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

9-klass

Total questions: 10

Worksheet time: 18mins

Name
Class
Date
1.

.Randint () qanday wazıypa atqaradı?

A) Tosınarlı sannı shıǵaradı.

B) Paydalanıwshı ushın maǵlıwmatlar shıǵaradı.

D) Print () funksiyasınıń zidi.

a)

Tosınarlı sannı shıǵaradı.

b)

Paydalanıwshı ushın maǵlıwmatlar shıǵaradı.

c)

Print () funksiyasınıń zidi.

2.

b=5

>>> def háml3 ():

global b

b=b+1

p r in t(b)

>>> háml3() natiyje nege ten

a)

7

b)

6

c)

8

d)

9

3.

b=5

>>> def háml2 ():

print(b)

>>> háml2() natiyje nege ten

a)

5

b)

6

c)

7

d)

12

4.

a=5

b=6

c=a+b

print(c)

a)

11

b)

12

c)

orinlamaydi qate

d)

1

5.

print(11%31)=?

a)

11

b)

-11

c)

20

d)

-20

6.

print(23//17)=?

a)

3

b)

4

c)

5

d)

6

7.

print(31%11)=?

a)

7

b)

8

c)

9

d)

10

8.

print(-31%-11)=?

a)

-7

b)

-8

c)

-9

d)

-10

9.

a=informatika

print(a[-4::2])=?

a)

or

b)

tk

c)

ti

d)

to

10.

a=matematika

print(a[::-3])

a)

atem

b)

et

c)

mat

d)

te