Search Header Logo

Python Quiz

Authored by Teymur Haziyev

Computers

University

Used 2+ times

Python Quiz
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

30 sec • 1 pt

Media Image

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

A) "Hello,Python!"

B) " Hello, Python! "

C) "Hello, Python!"

D) "Hello,Python"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı Python funksiyası deyil?

a) print()

b) len()

c) map()

d) html()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı Python-da looplarla bağlı deyil?

a) for

b) while

c) continue

d) switch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python-da sonsuz döngü yaratmaq üçün hansı şərt yazılmalıdır?

a) while True:

b) for in range()

c) while 1 == 0:

d) if True:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python-da iterable nədir?

A) Yalnız bir dəfə istifadə edilə bilən obyekt

B) Üzərində döngü (loop) ilə keçilə bilən obyekt

C) Yalnızca list və tuple verilənlər tipidir

D) Yalnız generator funksiyası ilə yaradılan obyekt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı iterable obyektlərə aiddir?

A) string, range, list

B) int, float, bool

C) list, dict, set, tuple

D) bool, NoneType, range

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str.split() funksiyası nəyi qaytarır?

A) Bir string obyektini hərflərə ayırır

B) String-i sətrə çevirir

C) String-də tapılan xüsusi bir xarakteri silir

D) Bir string-i boşluqlarla ayıraraq bir siyahı (list) qaytarır

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?