Search Header Logo

Python 1

Authored by Sabir Baxsiyev

Other

Professional Development

Used 5+ times

Python 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Aşağıdakı verilənlər tipindən hansı Python-da dəyişilməzdir (immutable)?

List

Set

Tuple

Dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakı ifadələrdən hansı Python-da set yaratmaq üçün doğrudur?

set = {1, 2, 3, 3}

set = (1, 2, 3)

set = [1, 2, 3]

set = (1, 2, 2, 3)

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Hansının nəticəsi səhv qaytarmayacaq?

A) x = 10 if x > 5 else x < 3

B) x = 10 if x > 5 else 20

C) x = if 10 > 5 else 20

D) x = 10 if x > 5 else x == 3

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Aşağıdakı kodun nəticəsi nə olacaq?

A) 0 2 4

B) 1 2 3 4 5

C) 0 1 2 3 4

D) 0 1 3 5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Aşağıdakı kodun nəticəsi nə olacaq?

[1, 2, 3, 6]

[1, 2, 3, 1, 2, 3]

[2, 3, 4]

[1, 4, 9]

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Hansı ifadə boolean nəticə qaytarır?

x = [1, 2, 3]

x[2]

x == 2

x[1:2]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python-da dəyişənlərin növünü dəyişmək üçün hansı metoddan istifadə olunur?

A) int()

C) float()

B) str()

D) Hamısı

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?