Search Header Logo

ссссс

Authored by Nurgul Daribaeva

Construction

Professional Development

ссссс
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Келесі кодты орындағанда нәтиже қандай болады?

numbers = [1, 2, 3, 4, 5] print(numbers[2:4]) 5

[2, 3, 4]

[3, 4]

[3, 4, 5]

[2, 3]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python тілінде айнымалының типін қалай анықтайды?

type(x)

typeof(x)

getType(x)

x.type()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python тілінде функцияны қалай анықтайды?

def my_function():

define my_function():

func my_function():

function my_function():

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Келесі кодты орындағанда нәтиже қандай болады?

x = [1, 2, 3] y = x y.append(4) print(x)

[1, 2, 3, 4]

[4, 1, 2, 3]

[1, 2, 3]

Қате пайда болады

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Келесі кодты орындағанда нәтиже қандай болады?

x = (1, 2, 3) x[0] = 4 print(x)

(4, 2, 3)

(1, 2, 3)

[4, 2, 3]

Қате пайда болады

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Келесі кодты орындағанда нәтиже қандай болады?

def func(x=[]): x.append(1) return x print(func()) print(func())

[1] және [1]

[1] және [1, 1]

Қате пайда болады

[1, 1] және [1, 1, 1]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python тілінде қайталанатын әрекеттерді орындау үшін қандай цикл түрлері қолданылады?

loop және foreach

repeat және until

for және while

do-while және for

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?