Search Header Logo

Python oraliq nazorat

Authored by G'olibjon Davronov

Computers

6th - 8th Grade

Used 10+ times

Python oraliq nazorat
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

print 9//2

4.5

4

4.55

4,5

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

i = 0

while i < 3:

       print i

       i++

       print i+1

0 2 1 3 2 4


0 1 2 3 4 5


Xato

1 0 2 4 3 5


3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

print(type(type(int)))

type \'int\'


type \'type\'


Error


<class 'type'>

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

L = ['a','b','c','d']

print(" ".join(L))

[‘a’,’b’,’c’,’d’]


Error

abcd

Error

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

y = 8

z = lambda x : x * y

print (z(6))

error

48

14

64

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

royxat1=[3, 4, 5, 20, 5, 25, 1, 3] bo‘lsin, royxat1.pop(1) dan keyin ro‘yxat1 nima?

[3, 4, 5, 20, 5, 25, 1, 3]


[3, 4, 5, 20, 5, 25, 1,]


[3, 5, 20, 5, 25, 1, 3]


[3, 5, 20, 5, 25, 3]


7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

def myfunc(a):

a = a + 2

a = a * 2

return a

print myfunc(2)

8

16

xatolik

32

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?